Browse Source

Merge pull request #7773 from antograssiot/log

avoid the logs to be displayed in the tests results
ADmad 10 years ago
parent
commit
96994b53ad
1 changed files with 6 additions and 0 deletions
  1. 6 0
      tests/TestCase/TestSuite/FixtureManagerTest.php

+ 6 - 0
tests/TestCase/TestSuite/FixtureManagerTest.php

@@ -39,6 +39,12 @@ class FixtureManagerTest extends TestCase
         $this->manager = new FixtureManager();
     }
 
+    public function tearDown()
+    {
+        parent::tearDown();
+        Log::reset();
+    }
+
     /**
      * Test loading core fixtures.
      *