diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-05-20 13:08:56 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-01 13:22:56 +0200 |
commit | b98dd3ceb84f1372415fd69bc7992d0bba954f3f (patch) | |
tree | 23a790b785443b40e15409673cee89a2d800fc85 | |
parent | e08423f95631a1b06f2de0216c5765552092075c (diff) | |
download | nextcloud-server-b98dd3ceb84f1372415fd69bc7992d0bba954f3f.tar.gz nextcloud-server-b98dd3ceb84f1372415fd69bc7992d0bba954f3f.zip |
release all locks after test
-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]; } |