summaryrefslogtreecommitdiffstats
path: root/tests/lib/security/certificatemanager.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/security/certificatemanager.php')
-rw-r--r--tests/lib/security/certificatemanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/security/certificatemanager.php b/tests/lib/security/certificatemanager.php
index 43b2f1cf980..a4e6d8d68ac 100644
--- a/tests/lib/security/certificatemanager.php
+++ b/tests/lib/security/certificatemanager.php
@@ -24,7 +24,7 @@ class CertificateManagerTest extends \Test\TestCase {
parent::setUp();
$this->username = $this->getUniqueID('', 20);
- OC_User::createUser($this->username, $this->getUniqueID('', 20));
+ \OC::$server->getUserManager()->createUser($this->username, $this->getUniqueID('', 20));
\OC_Util::tearDownFS();
\OC_User::setUserId('');