瀏覽代碼

made the test configuration inherit from the dev one by default in the skeleton

Fabien Potencier 15 年之前
父節點
當前提交
14cb6dd77c

+ 1 - 2
src/Symfony/Framework/WebBundle/Resources/skeleton/application/xml/config/config_test.xml

@@ -11,12 +11,11 @@
                         http://www.symfony-project.org/schema/dic/symfony/profiler http://www.symfony-project.org/schema/dic/symfony/profiler-1.0.xsd">
 
     <imports>
-        <import resource="config.xml" />
+        <import resource="config_dev.xml" />
     </imports>
 
     <zend:logger
         priority="info"
-        path="%kernel.logs_dir%/%kernel.environment%.log"
     />
 
     <kernel:test />

+ 1 - 2
src/Symfony/Framework/WebBundle/Resources/skeleton/application/yaml/config/config_test.yml

@@ -1,8 +1,7 @@
 imports:
-    - { resource: config.yml }
+    - { resource: config_test.yml }
 
 zend.logger:
     priority: debug
-    path:     %kernel.logs_dir%/%kernel.environment%.log
 
 kernel.test: ~