aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-12 15:44:48 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-12 15:44:48 +0200
commit6f3e039e78074d1ae684fedbb3aa0bf887568385 (patch)
tree8fd351dd75084040f777d28c57a30dca55fa13ce /tests/bootstrap.php
parent5b2f3c7f72a002b38da31a6748c0de22cb335203 (diff)
downloadnextcloud-server-6f3e039e78074d1ae684fedbb3aa0bf887568385.tar.gz
nextcloud-server-6f3e039e78074d1ae684fedbb3aa0bf887568385.zip
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();