cleanup hooks

This commit is contained in:
Robin Appelman 2015-04-23 18:24:46 +02:00
parent 6bf0579622
commit 83b8ac0d7b

View file

@ -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"