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
-------

011ddfc502 Remove a test brought back with a merge
This commit is contained in:
Nicolas Grekas 2019-10-04 23:41:01 +02:00
commit d2f81998c0
1 changed files with 0 additions and 24 deletions

View File

@ -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();