[FrameworkBundle] fixed suggesting deprecated WebServerBundle

This commit is contained in:
Jesse Rushlow 2020-01-31 06:32:18 -05:00 committed by Fabien Potencier
parent f35935f050
commit 134129b5ad
2 changed files with 2 additions and 3 deletions

View File

@ -39,8 +39,7 @@ final class SuggestMissingPackageSubscriber implements EventSubscriberInterface
'_default' => ['MakerBundle', 'symfony/maker-bundle --dev'],
],
'server' => [
'dump' => ['Debug Bundle', 'symfony/debug-bundle --dev'],
'_default' => ['WebServerBundle', 'symfony/web-server-bundle --dev'],
'_default' => ['Debug Bundle', 'symfony/debug-bundle --dev'],
],
];

View File

@ -208,7 +208,7 @@ class ApplicationTest extends TestCase
public function testSuggestingPackagesWithExactMatch()
{
$result = $this->createEventForSuggestingPackages('server:dump', []);
$result = $this->createEventForSuggestingPackages('doctrine:fixtures', []);
$this->assertRegExp('/You may be looking for a command provided by/', $result);
}