Skip to content

Commit fcb73f6

Browse files
Merge branch '7.4' into 8.0
* 7.4: Fix merge [HttpKernel] Make `#[Cache]` respect all explicit cache directives set in controller Revert "bug #62541 [DependencyInjection] Reset resolved state when setting a parameter (yoeunes)"
2 parents a8e485e + 6d9f0fb commit fcb73f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/ApplicationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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']);

0 commit comments

Comments
 (0)