diff options
Diffstat (limited to 'tests/lib/Lockdown/Filesystem/NoFSTest.php')
-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'); } |