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 14:52:49 +0300
committerGitHub <noreply@github.com>2017-08-15 14:52:49 +0300
commitc5f14ac884b32d749edfcfc89434333930287ae5 (patch)
tree04f60cc3eeba3a0046f9fa8f2b51a3a641b26f6e /tests/lib/Share
parent49b28ebf84abc90c15662a4ff8b31c5ff255bfc7 (diff)
parent895b9c23099bd123331760873f30215e106c3a5c (diff)
Merge pull request #6121 from nextcloud/cleanup-registerBackend
Use proper methods for registerBackend
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 cf4c553c536..cfc6eea7a46 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');