[FrameworkBundle] fixed suggesting deprecated WebServerBundle
This commit is contained in:
parent
f35935f050
commit
134129b5ad
@ -39,8 +39,7 @@ final class SuggestMissingPackageSubscriber implements EventSubscriberInterface
|
|||||||
'_default' => ['MakerBundle', 'symfony/maker-bundle --dev'],
|
'_default' => ['MakerBundle', 'symfony/maker-bundle --dev'],
|
||||||
],
|
],
|
||||||
'server' => [
|
'server' => [
|
||||||
'dump' => ['Debug Bundle', 'symfony/debug-bundle --dev'],
|
'_default' => ['Debug Bundle', 'symfony/debug-bundle --dev'],
|
||||||
'_default' => ['WebServerBundle', 'symfony/web-server-bundle --dev'],
|
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -208,7 +208,7 @@ class ApplicationTest extends TestCase
|
|||||||
|
|
||||||
public function testSuggestingPackagesWithExactMatch()
|
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);
|
$this->assertRegExp('/You may be looking for a command provided by/', $result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user