summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache/updaterlegacy.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/files/cache/updaterlegacy.php')
-rw-r--r--tests/lib/files/cache/updaterlegacy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/updaterlegacy.php b/tests/lib/files/cache/updaterlegacy.php
index 1946913bba4..ca59850eb0b 100644
--- a/tests/lib/files/cache/updaterlegacy.php
+++ b/tests/lib/files/cache/updaterlegacy.php
@@ -57,7 +57,7 @@ class UpdaterLegacy extends \Test\TestCase {
self::$user = $this->getUniqueID();
}
- \OC_User::createUser(self::$user, 'password');
+ \OC::$server->getUserManager()->createUser(self::$user, 'password');
$this->loginAsUser(self::$user);
Filesystem::init(self::$user, '/' . self::$user . '/files');