Skip to content

Commit 2d32d9e

Browse files
[DI] Dont share service when no id provided
1 parent 65428e1 commit 2d32d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Bundle/BundleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testGetContainerExtensionWithInvalidClass()
4646
public function testHttpKernelRegisterCommandsIgnoresCommandsThatAreRegisteredAsServices()
4747
{
4848
$container = new ContainerBuilder();
49-
$container->register('console.command.Symfony_Component_HttpKernel_Tests_Fixtures_ExtensionPresentBundle_Command_FooCommand', 'Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command\FooCommand');
49+
$container->register('console.command.symfony_component_httpkernel_tests_fixtures_extensionpresentbundle_command_foocommand', 'Symfony\Component\HttpKernel\Tests\Fixtures\ExtensionPresentBundle\Command\FooCommand');
5050

5151
$application = $this->getMockBuilder('Symfony\Component\Console\Application')->getMock();
5252
// add() is never called when the found command classes are already registered as services

0 commit comments

Comments
 (0)