summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-04-23 18:24:46 +0200
committerRobin Appelman <icewind@owncloud.com>2015-04-27 14:07:16 +0200
commit83b8ac0d7b90840ac3d22e95a442d3f5db413ea6 (patch)
treeb8aa80b1858991db3114d0d4b7de14ddd3621e97 /apps/files_sharing
parent6bf05796224ce83ec74b08f9bd428619ca3c9f7e (diff)
downloadnextcloud-server-83b8ac0d7b90840ac3d22e95a442d3f5db413ea6.tar.gz
nextcloud-server-83b8ac0d7b90840ac3d22e95a442d3f5db413ea6.zip
cleanup hooks
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/etagpropagation.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/etagpropagation.php b/apps/files_sharing/tests/etagpropagation.php
index b515362c02d..041ed34ce11 100644
--- a/apps/files_sharing/tests/etagpropagation.php
+++ b/apps/files_sharing/tests/etagpropagation.php
@@ -37,6 +37,13 @@ class EtagPropagation extends TestCase {
$this->setUpShares();
}
+ protected function tearDown() {
+ \OC_Hook::clear('OC_Filesystem', 'post_write');
+ \OC_Hook::clear('OC_Filesystem', 'post_delete');
+ \OC_Hook::clear('OC_Filesystem', 'post_rename');
+ parent::tearDown();
+ }
+
/**
* "user1" is the admin who shares a folder "sub1/sub2/folder" with "user2" and "user3"
* "user2" receives the folder and puts it in "sub1/sub2/folder"