speed up tests running them without debug flag
This commit is contained in:
parent
848a83078c
commit
dfb924f6a9
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue