File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
src/Symfony/Component/Console/Tests Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -266,10 +266,10 @@ public function testAddCommandWithInvokableCommand()
266266 public function testAddCommandWithInvokableExtendedCommand ()
267267 {
268268 $ application = new Application ();
269- $ application ->addCommand ($ foo = new InvokableExtendedTestCommand ());
269+ $ application ->addCommand ($ foo = new InvokableExtendingCommandTestCommand ());
270270 $ commands = $ application ->all ();
271271
272- $ this ->assertEquals ($ foo , $ commands ['invokable-extended ' ]);
272+ $ this ->assertEquals ($ foo , $ commands ['invokable:test ' ]);
273273 }
274274
275275 /**
@@ -2572,14 +2572,6 @@ public function isEnabled(): bool
25722572 }
25732573}
25742574
2575- #[AsCommand(name: 'invokable-extended ' )]
2576- class InvokableExtendedTestCommand extends Command
2577- {
2578- public function __invoke (): int
2579- {
2580- }
2581- }
2582-
25832575#[AsCommand(name: 'signal ' )]
25842576class BaseSignableCommand extends Command
25852577{
You can’t perform that action at this time.
0 commit comments