[Pkg-owncloud-commits] [owncloud] 103/215: cleanup hooks

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 83b8ac0d7b90840ac3d22e95a442d3f5db413ea6
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu Apr 23 18:24:46 2015 +0200

    cleanup hooks
---
 apps/files_sharing/tests/etagpropagation.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/apps/files_sharing/tests/etagpropagation.php b/apps/files_sharing/tests/etagpropagation.php
index b515362..041ed34 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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list