diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-10-27 20:13:15 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-10-31 17:17:45 +0100 |
commit | 8d83e239f321ef63e08c2c1a6658449c7376c46f (patch) | |
tree | 277603816fcc000d008be6c7ac84c108300b4d9b /apps/files_sharing/tests | |
parent | 32cf661215fb3926789054a3953b465fc2665330 (diff) | |
download | nextcloud-server-8d83e239f321ef63e08c2c1a6658449c7376c46f.tar.gz nextcloud-server-8d83e239f321ef63e08c2c1a6658449c7376c46f.zip |
Fix tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r-- | apps/files_sharing/tests/UpdaterTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/UpdaterTest.php b/apps/files_sharing/tests/UpdaterTest.php index da292826f0a..bb320336d48 100644 --- a/apps/files_sharing/tests/UpdaterTest.php +++ b/apps/files_sharing/tests/UpdaterTest.php @@ -71,7 +71,8 @@ class UpdaterTest extends TestCase { */ function testDeleteParentFolder() { $status = \OC_App::isEnabled('files_trashbin'); - \OC_App::enable('files_trashbin'); + (new \OC_App())->enable('files_trashbin'); + \OCA\Files_Trashbin\Trashbin::registerHooks(); |