Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-15 11:34:27 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-08-15 12:29:15 +0300
commit895b9c23099bd123331760873f30215e106c3a5c (patch)
treec32e93582bfbad07ebd6c5a3242f4554a197c447 /tests/lib/Share
parentc5c23b30b9f510ce211d9fa3187dc3c8cff4116e (diff)
Use proper methods for registerBackend
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/Share')
-rw-r--r--tests/lib/Share/ShareTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Share/ShareTest.php b/tests/lib/Share/ShareTest.php
index 0442e06fc45..d2a37ff6f8d 100644
--- a/tests/lib/Share/ShareTest.php
+++ b/tests/lib/Share/ShareTest.php
@@ -100,7 +100,7 @@ class ShareTest extends \Test\TestCase {
$this->groupAndUser_group->addUser($this->user2);
$this->groupAndUser_group->addUser($this->user3);
- \OCP\Share::registerBackend('test', 'Test\Share\Backend');
+ \OC\Share\Share::registerBackend('test', 'Test\Share\Backend');
\OC_Hook::clear('OCP\\Share');
\OC::registerShareHooks();
$this->resharing = \OC::$server->getAppConfig()->getValue('core', 'shareapi_allow_resharing', 'yes');