Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2f8199

Browse files
minor #33865 Remove a test brought back with a merge (jakzal)
This PR was merged into the 5.0-dev branch. Discussion ---------- Remove a test brought back with a merge re #33790 | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Re #33790 | License | MIT | Doc PR | - Commits ------- 011ddfc Remove a test brought back with a merge
2 parents d9ca86e + 011ddfc commit d2f8199

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -728,30 +728,6 @@ public function testFindHiddenWithExactName()
728728
$this->assertInstanceOf('FooHiddenCommand', $application->find('afoohidden'));
729729
}
730730

731-
/**
732-
* @group legacy
733-
* @expectedDeprecation Command "%s:hidden" is hidden, finding it using an abbreviation is deprecated since Symfony 4.4, use its full name instead.
734-
* @dataProvider provideAbbreviationsForHiddenCommands
735-
*/
736-
public function testFindHiddenWithAbbreviatedName($name)
737-
{
738-
$application = new Application();
739-
740-
$application->add(new \FooHiddenCommand());
741-
$application->add(new \BarHiddenCommand());
742-
743-
$application->find($name);
744-
}
745-
746-
public function provideAbbreviationsForHiddenCommands()
747-
{
748-
return [
749-
['foo:hidde'],
750-
['afoohidd'],
751-
['bar:hidde'],
752-
];
753-
}
754-
755731
public function testFindAmbiguousCommandsIfAllAlternativesAreHidden()
756732
{
757733
$application = new Application();

0 commit comments

Comments
 (0)