Skip to content

Commit 73978e3

Browse files
Merge branch '6.4' into 7.3
* 6.4: Fix tests sensitive to SYMFONY_IDE env var
2 parents 06c0f67 + 16e276d commit 73978e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/ConfigDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function testParametersValuesAreFullyResolved(bool $debug)
141141
$this->assertStringContainsString('locale: en', $tester->getDisplay());
142142
$this->assertStringContainsString('secret: test', $tester->getDisplay());
143143
$this->assertStringContainsString('cookie_httponly: true', $tester->getDisplay());
144-
$this->assertStringContainsString('ide: '.$debug ? ($_ENV['SYMFONY_IDE'] ?? $_SERVER['SYMFONY_IDE'] ?? 'null') : 'null', $tester->getDisplay());
144+
$this->assertStringContainsString('ide: '.($debug ? ($_ENV['SYMFONY_IDE'] ?? $_SERVER['SYMFONY_IDE'] ?? 'null') : 'null'), $tester->getDisplay());
145145
}
146146

147147
/**

0 commit comments

Comments
 (0)