diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-03-15 14:44:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 14:44:23 +0100 |
commit | 490533188b2b73b219c363a6245e2764864de96f (patch) | |
tree | a789aec3c2e21d8c9753b60ccfca54275214fcc0 /tests/lib | |
parent | f29fc47587356b005dd2a0f3cd043cab2945b007 (diff) | |
parent | cd585885b83fef458e74b472b70683030da4ab93 (diff) | |
download | nextcloud-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.php | 4 |
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'); } |