[SecurityBundle] Changed environment to something unique.

If you run functional tests from different bundles you it will cause a redeclare error
because the DIC appKernel name is not unique.
This commit is contained in:
Drak 2011-12-15 02:15:42 +05:45
parent dc03371009
commit 62f3dc4c49

View File

@ -59,7 +59,7 @@ class WebTestCase extends BaseWebTestCase
return new $class(
$options['test_case'],
isset($options['root_config']) ? $options['root_config'] : 'config.yml',
isset($options['environment']) ? $options['environment'] : 'test',
isset($options['environment']) ? $options['environment'] : 'securitybundletest',
isset($options['debug']) ? $options['debug'] : true
);
}