summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests
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 /apps/encryption/tests
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 'apps/encryption/tests')
-rw-r--r--apps/encryption/tests/lib/MigrationTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/tests/lib/MigrationTest.php b/apps/encryption/tests/lib/MigrationTest.php
index fc3d014345b..ec1dccb87b8 100644
--- a/apps/encryption/tests/lib/MigrationTest.php
+++ b/apps/encryption/tests/lib/MigrationTest.php
@@ -43,9 +43,9 @@ class MigrationTest extends \Test\TestCase {
public static function setUpBeforeClass() {
parent::setUpBeforeClass();
- \OC_User::createUser(self::TEST_ENCRYPTION_MIGRATION_USER1, 'foo');
- \OC_User::createUser(self::TEST_ENCRYPTION_MIGRATION_USER2, 'foo');
- \OC_User::createUser(self::TEST_ENCRYPTION_MIGRATION_USER3, 'foo');
+ \OC::$server->getUserManager()->createUser(self::TEST_ENCRYPTION_MIGRATION_USER1, 'foo');
+ \OC::$server->getUserManager()->createUser(self::TEST_ENCRYPTION_MIGRATION_USER2, 'foo');
+ \OC::$server->getUserManager()->createUser(self::TEST_ENCRYPTION_MIGRATION_USER3, 'foo');
}
public static function tearDownAfterClass() {