speed up tests running them without debug flag

This commit is contained in:
Christian Flothmann 2019-02-23 10:48:29 +01:00
parent 848a83078c
commit dfb924f6a9
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class ContainerDebugCommandTest extends WebTestCase
{
public function testDumpContainerIfNotExists()
{
static::bootKernel(['test_case' => 'ContainerDebug', 'root_config' => 'config.yml']);
static::bootKernel(['test_case' => 'ContainerDebug', 'root_config' => 'config.yml', 'debug' => true]);
$application = new Application(static::$kernel);
$application->setAutoExit(false);

View File

@ -62,7 +62,7 @@ class WebTestCase extends BaseWebTestCase
$options['test_case'],
isset($options['root_config']) ? $options['root_config'] : 'config.yml',
isset($options['environment']) ? $options['environment'] : strtolower(static::getVarDir().$options['test_case']),
isset($options['debug']) ? $options['debug'] : true
isset($options['debug']) ? $options['debug'] : false
);
}

View File

@ -62,7 +62,7 @@ class WebTestCase extends BaseWebTestCase
$options['test_case'],
isset($options['root_config']) ? $options['root_config'] : 'config.yml',
isset($options['environment']) ? $options['environment'] : strtolower(static::getVarDir().$options['test_case']),
isset($options['debug']) ? $options['debug'] : true
isset($options['debug']) ? $options['debug'] : false
);
}