summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/ExpireSharesJobTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/tests/ExpireSharesJobTest.php')
-rw-r--r--apps/files_sharing/tests/ExpireSharesJobTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/ExpireSharesJobTest.php b/apps/files_sharing/tests/ExpireSharesJobTest.php
index 116cc2a27dd..781f58a2c31 100644
--- a/apps/files_sharing/tests/ExpireSharesJobTest.php
+++ b/apps/files_sharing/tests/ExpireSharesJobTest.php
@@ -65,7 +65,7 @@ class ExpireSharesJobTest extends \Test\TestCase {
$userManager->createUser($this->user1, 'longrandompassword');
$userManager->createUser($this->user2, 'longrandompassword');
- \OC::registerShareHooks();
+ \OC::registerShareHooks(\OC::$server->getSystemConfig());
$this->job = new ExpireSharesJob(\OC::$server->get(ITimeFactory::class), \OC::$server->get(IManager::class), $this->connection);
}