aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache/cache.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 15:10:11 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-17 16:18:40 +0100
commit835911bce5cf8da9ce6d4021f0836b11d6b97d31 (patch)
treea2bdcfcb696b9142643bb7a9f5b93b68944c1191 /tests/lib/files/cache/cache.php
parent7e44ea5da068bae204715e545b95c4852ad6283c (diff)
downloadnextcloud-server-835911bce5cf8da9ce6d4021f0836b11d6b97d31.tar.gz
nextcloud-server-835911bce5cf8da9ce6d4021f0836b11d6b97d31.zip
Removed deprecated private OC_User::createUser
All function calls are replaced with the recommended (which was already the body of the function).
Diffstat (limited to 'tests/lib/files/cache/cache.php')
-rw-r--r--tests/lib/files/cache/cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/cache/cache.php b/tests/lib/files/cache/cache.php
index 503d25597cd..6ae095fa5c2 100644
--- a/tests/lib/files/cache/cache.php
+++ b/tests/lib/files/cache/cache.php
@@ -317,7 +317,7 @@ class Cache extends \Test\TestCase {
function testSearchByTag() {
$userId = $this->getUniqueId('user');
- \OC_User::createUser($userId, $userId);
+ \OC::$server->getUserManager()->createUser($userId, $userId);
$this->loginAsUser($userId);
$user = new \OC\User\User($userId, null);