Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / console / Tests / Input / StringInputTest.php
index 839af7387f4dcc02513153357f550591f699c892..f2e3467ef8687e354277d495283abaa4ab74d21f 100644 (file)
@@ -42,19 +42,6 @@ class StringInputTest extends TestCase
         $this->assertEquals('bar', $input->getOption('foo'));
     }
 
-    /**
-     * @group legacy
-     */
-    public function testLegacyInputOptionDefinitionInConstructor()
-    {
-        $definition = new InputDefinition(
-            array(new InputOption('foo', null, InputOption::VALUE_REQUIRED))
-        );
-
-        $input = new StringInput('--foo=bar', $definition);
-        $this->assertEquals('bar', $input->getOption('foo'));
-    }
-
     public function getTokenizeData()
     {
         return array(