浏览代码

[SecurityBundle] fixed error_log() being called during functional tests

Fabien Potencier 14 年之前
父节点
当前提交
2e56703a32
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml

+ 4 - 1
src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/config/framework.yml

@@ -11,4 +11,7 @@ framework:
         default_locale: en
         lifetime:       3600
         auto_start:     true
-        storage_id: session.storage.filesystem
+        storage_id: session.storage.filesystem
+
+services:
+    logger: { class: Symfony\Component\HttpKernel\Log\NullLogger }