Преглед изворни кода

[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.
Drak пре 13 година
родитељ
комит
62f3dc4c49
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Symfony/Bundle/SecurityBundle/Tests/Functional/WebTestCase.php

+ 1 - 1
src/Symfony/Bundle/SecurityBundle/Tests/Functional/WebTestCase.php

@@ -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
         );
     }