Skip to content

Commit 204efa2

Browse files
committed
minor #30356 [FrameworkBundle][SecurityBundle] speed up tests running them without debug flag (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle][SecurityBundle] speed up tests running them without debug flag | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- dfb924f6a9 speed up tests running them without debug flag
2 parents 1a7090e + 315b079 commit 204efa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Functional/ContainerDebugCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ContainerDebugCommandTest extends WebTestCase
2121
{
2222
public function testDumpContainerIfNotExists()
2323
{
24-
static::bootKernel(['test_case' => 'ContainerDebug', 'root_config' => 'config.yml']);
24+
static::bootKernel(['test_case' => 'ContainerDebug', 'root_config' => 'config.yml', 'debug' => true]);
2525

2626
$application = new Application(static::$kernel);
2727
$application->setAutoExit(false);

Tests/Functional/WebTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ protected static function createKernel(array $options = [])
6262
$options['test_case'],
6363
isset($options['root_config']) ? $options['root_config'] : 'config.yml',
6464
isset($options['environment']) ? $options['environment'] : strtolower(static::getVarDir().$options['test_case']),
65-
isset($options['debug']) ? $options['debug'] : true
65+
isset($options['debug']) ? $options['debug'] : false
6666
);
6767
}
6868

0 commit comments

Comments
 (0)