diff options
-rw-r--r-- | tests/lib/testcase.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/testcase.php b/tests/lib/testcase.php index c1ebfb025cf..d8595c83a91 100644 --- a/tests/lib/testcase.php +++ b/tests/lib/testcase.php @@ -43,6 +43,7 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase { protected function tearDown() { $hookExceptions = \OC_Hook::$thrownExceptions; \OC_Hook::$thrownExceptions = []; + \OC::$server->getLockingProvider()->releaseAll(); if(!empty($hookExceptions)) { throw $hookExceptions[0]; } |