瀏覽代碼

[FrameworkBundle] fixed inclusion of the test client

Fabien Potencier 14 年之前
父節點
當前提交
a46ca47c03
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

@@ -92,7 +92,7 @@ class FrameworkExtension extends Extension
             $this->registerTemplatingConfiguration($config, $container);
         }
 
-        if (isset($config['test'])) {
+        if (array_key_exists('test', $config)) {
             $this->registerTestConfiguration($config, $container);
         }