From 6f3e039e78074d1ae684fedbb3aa0bf887568385 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 12 Oct 2012 15:44:48 +0200 Subject: [PATCH] clear all hooks when running tests --- tests/bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.39.5