Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-12 17:44:48 +0400
committerRobin Appelman <icewind@owncloud.com>2012-10-12 17:44:48 +0400
commit6f3e039e78074d1ae684fedbb3aa0bf887568385 (patch)
tree8fd351dd75084040f777d28c57a30dca55fa13ce /tests/bootstrap.php
parent5b2f3c7f72a002b38da31a6748c0de22cb335203 (diff)
clear all hooks when running tests
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 73c6e395299..4bb980b5b76 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -24,3 +24,5 @@ abstract class UnitTestCase extends PHPUnit_Framework_TestCase{
parent::assertFalse((bool)$actual, $string);
}
}
+
+OC_Hook::clear();