diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-03-27 13:44:40 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-04-27 14:07:15 +0200 |
commit | be55a9032380629756e35ea4cf13fd34a213db41 (patch) | |
tree | 669c81f31657789cdaee3a666c9cecbc6d89d33e /apps/files_trashbin/tests | |
parent | 30ad56813a16908e3862c353256f2a6d0f05fe3a (diff) | |
download | nextcloud-server-be55a9032380629756e35ea4cf13fd34a213db41.tar.gz nextcloud-server-be55a9032380629756e35ea4cf13fd34a213db41.zip |
dont use our now non existing hook
Diffstat (limited to 'apps/files_trashbin/tests')
-rw-r--r-- | apps/files_trashbin/tests/trashbin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_trashbin/tests/trashbin.php b/apps/files_trashbin/tests/trashbin.php index bf6446389f1..a2e1a9addf6 100644 --- a/apps/files_trashbin/tests/trashbin.php +++ b/apps/files_trashbin/tests/trashbin.php @@ -54,7 +54,9 @@ class Test_Trashbin extends \Test\TestCase { // clear share hooks \OC_Hook::clear('OCP\\Share'); \OC::registerShareHooks(); - \OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup'); + $application = new \OCA\Files_Sharing\AppInfo\Application(); + $application->registerMountProviders(); + $application->setupPropagation(); //disable encryption \OC_App::disable('files_encryption'); |