mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 03:02:01 -04:00
cleanup hooks
This commit is contained in:
parent
6bf0579622
commit
83b8ac0d7b
1 changed files with 7 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue