We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6c1a45 + 32dee2a commit 78f27b0Copy full SHA for 78f27b0
Tests/DependencyInjection/Compiler/AddConsoleCommandPassTest.php
@@ -62,10 +62,6 @@ public function visibilityProvider()
62
);
63
}
64
65
- /**
66
- * @expectedException \InvalidArgumentException
67
- * @expectedExceptionMessage The service "my-command" tagged "console.command" must not be abstract.
68
- */
69
public function testProcessThrowAnExceptionIfTheServiceIsAbstract()
70
{
71
$container = new ContainerBuilder();
@@ -77,6 +73,8 @@ public function testProcessThrowAnExceptionIfTheServiceIsAbstract()
77
73
$container->setDefinition('my-command', $definition);
78
74
79
75
$container->compile();
76
+
+ $this->assertSame(array(), $container->getParameter('console.command.ids'));
80
81
82
/**
0 commit comments