aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-03-15 14:44:23 +0100
committerGitHub <noreply@github.com>2024-03-15 14:44:23 +0100
commit490533188b2b73b219c363a6245e2764864de96f (patch)
treea789aec3c2e21d8c9753b60ccfca54275214fcc0 /tests/lib
parentf29fc47587356b005dd2a0f3cd043cab2945b007 (diff)
parentcd585885b83fef458e74b472b70683030da4ab93 (diff)
downloadnextcloud-server-490533188b2b73b219c363a6245e2764864de96f.tar.gz
nextcloud-server-490533188b2b73b219c363a6245e2764864de96f.zip
Merge pull request #40143 from summersab/refactor/OC-Server-getLockdownManager
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Lockdown/Filesystem/NoFSTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Lockdown/Filesystem/NoFSTest.php b/tests/lib/Lockdown/Filesystem/NoFSTest.php
index 4c0645447ec..adffb01758c 100644
--- a/tests/lib/Lockdown/Filesystem/NoFSTest.php
+++ b/tests/lib/Lockdown/Filesystem/NoFSTest.php
@@ -39,7 +39,7 @@ class NoFSTest extends \Test\TestCase {
$token->setScope([
'filesystem' => true
]);
- \OC::$server->getLockdownManager()->setToken($token);
+ \OC::$server->get('LockdownManager')->setToken($token);
parent::tearDown();
}
@@ -50,7 +50,7 @@ class NoFSTest extends \Test\TestCase {
'filesystem' => false
]);
- \OC::$server->getLockdownManager()->setToken($token);
+ \OC::$server->get('LockdownManager')->setToken($token);
$this->createUser('foo', 'var');
}