summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-03-27 13:44:40 +0100
committerRobin Appelman <icewind@owncloud.com>2015-04-27 14:07:15 +0200
commitbe55a9032380629756e35ea4cf13fd34a213db41 (patch)
tree669c81f31657789cdaee3a666c9cecbc6d89d33e /tests
parent30ad56813a16908e3862c353256f2a6d0f05fe3a (diff)
downloadnextcloud-server-be55a9032380629756e35ea4cf13fd34a213db41.tar.gz
nextcloud-server-be55a9032380629756e35ea4cf13fd34a213db41.zip
dont use our now non existing hook
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/files/etagtest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/files/etagtest.php b/tests/lib/files/etagtest.php
index 055927652bc..c3d364d6800 100644
--- a/tests/lib/files/etagtest.php
+++ b/tests/lib/files/etagtest.php
@@ -25,7 +25,9 @@ class EtagTest extends \Test\TestCase {
parent::setUp();
\OC_Hook::clear('OC_Filesystem', 'setup');
- \OCP\Util::connectHook('OC_Filesystem', 'setup', '\OC\Files\Storage\Shared', 'setup');
+ $application = new \OCA\Files_Sharing\AppInfo\Application();
+ $application->registerMountProviders();
+ $application->setupPropagation();
\OCP\Share::registerBackend('file', 'OC_Share_Backend_File');
\OCP\Share::registerBackend('folder', 'OC_Share_Backend_Folder', 'file');