File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2646,7 +2646,7 @@ public function testDoesNotFindHiddenCommandAsAlternativeIfHelpOptionIsPresent()
26462646 {
26472647 $ application = new Application ();
26482648 $ application ->setAutoExit (false );
2649- $ application ->add (new \FooHiddenCommand ());
2649+ $ application ->addCommand (new \FooHiddenCommand ());
26502650
26512651 $ tester = new ApplicationTester ($ application );
26522652 $ tester ->setInputs (['yes ' ]);
@@ -2662,7 +2662,7 @@ public function testsPreservedHelpOptionWhenItsAnAlternative()
26622662 {
26632663 $ application = new Application ();
26642664 $ application ->setAutoExit (false );
2665- $ application ->add (new \FoobarCommand ());
2665+ $ application ->addCommand (new \FoobarCommand ());
26662666
26672667 $ tester = new ApplicationTester ($ application );
26682668 $ tester ->setInputs (['yes ' ]);
You can’t perform that action at this time.
0 commit comments