diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index 01329e3a8cbcc..bf05adf9721ed 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -728,30 +728,6 @@ public function testFindHiddenWithExactName() $this->assertInstanceOf('FooHiddenCommand', $application->find('afoohidden')); } - /** - * @group legacy - * @expectedDeprecation Command "%s:hidden" is hidden, finding it using an abbreviation is deprecated since Symfony 4.4, use its full name instead. - * @dataProvider provideAbbreviationsForHiddenCommands - */ - public function testFindHiddenWithAbbreviatedName($name) - { - $application = new Application(); - - $application->add(new \FooHiddenCommand()); - $application->add(new \BarHiddenCommand()); - - $application->find($name); - } - - public function provideAbbreviationsForHiddenCommands() - { - return [ - ['foo:hidde'], - ['afoohidd'], - ['bar:hidde'], - ]; - } - public function testFindAmbiguousCommandsIfAllAlternativesAreHidden() { $application = new Application();