aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/TestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/TestCase.php')
-rw-r--r--apps/files_sharing/tests/TestCase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/TestCase.php b/apps/files_sharing/tests/TestCase.php
index 4545e67be32..34332d4bdaa 100644
--- a/apps/files_sharing/tests/TestCase.php
+++ b/apps/files_sharing/tests/TestCase.php
@@ -65,7 +65,7 @@ abstract class TestCase extends \Test\TestCase {
\OC::$server->getGroupManager()->clearBackends();
// clear share hooks
- \OC_Hook::clear('OCP\\Share');
+ \OC_Hook::clear(\OCP\Share::class);
\OC::registerShareHooks(\OC::$server->getSystemConfig());
// create users