From 011ddfc502c39edc6033868201bb9a003ae0bf42 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Fri, 4 Oct 2019 23:27:17 +0200 Subject: [PATCH] Remove a test brought back with a merge re #33790 --- .../Console/Tests/ApplicationTest.php | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/src/Symfony/Component/Console/Tests/ApplicationTest.php b/src/Symfony/Component/Console/Tests/ApplicationTest.php index 01329e3a8c..bf05adf972 100644 --- a/src/Symfony/Component/Console/Tests/ApplicationTest.php +++ b/src/Symfony/Component/Console/Tests/ApplicationTest.php @@ -728,30 +728,6 @@ class ApplicationTest extends TestCase $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();