Permalink
Browse files

disabled the profiler in the test environment to speed up tests

  • Loading branch information...
1 parent 506ffaa commit 1ca77023fd28c25ee0c579807907994818fe26b2 @fabpot fabpot committed Sep 18, 2012
Showing with 13 additions and 0 deletions.
  1. +11 −0 UPGRADE-2.2.md
  2. +2 −0 app/config/config_test.yml
View
@@ -0,0 +1,11 @@
+UPGRADE FROM 2.1 to 2.2
+=======================
+
+Functional Tests
+----------------
+
+ * The profiler has been disabled by default in the test environment. You can
+ enable it again by modifying the ``config_test.yml`` configuration file or
+ even better, you can just enable it for the very next request by calling
+ ``$client->enableProfiler()`` when you need the profiler in a test (that
+ speeds up functional tests quite a bit).
@@ -5,6 +5,8 @@ framework:
test: ~
session:
storage_id: session.storage.mock_file
+ profiler:
+ enable: false
web_profiler:
toolbar: false

0 comments on commit 1ca7702

Please sign in to comment.