diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-08-17 09:46:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-29 14:34:37 +0200 |
commit | 4d31caa6f842d427205b96f6823044b73e08a108 (patch) | |
tree | a38d11f4b4e8c8b98ddb40cdfb0470c4e6be5f0c /apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php | |
parent | 3647fbe7cd86e743b059889d69b03fcf8207780f (diff) | |
download | nextcloud-server-4d31caa6f842d427205b96f6823044b73e08a108.tar.gz nextcloud-server-4d31caa6f842d427205b96f6823044b73e08a108.zip |
fix a few minor code smells
Diffstat (limited to 'apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php')
-rw-r--r-- | apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php b/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php index 95c14ca8947..2200ac327a1 100644 --- a/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php +++ b/apps/user_ldap/tests/Integration/Lib/IntegrationTestUserHome.php @@ -111,7 +111,7 @@ class IntegrationTestUserHome extends AbstractIntegrationTest { */ protected function case2() { \OC::$server->getConfig()->setAppValue('user_ldap', 'enforce_home_folder_naming_rule', true); - $userManager = \oc::$server->getUserManager(); + $userManager = \OC::$server->getUserManager(); // clearing backends is critical, otherwise the userManager will have // the user objects cached and the value from case1 returned $userManager->clearBackends(); @@ -144,7 +144,7 @@ class IntegrationTestUserHome extends AbstractIntegrationTest { $this->connection->setConfiguration([ 'homeFolderNamingRule' => 'attr:', ]); - $userManager = \oc::$server->getUserManager(); + $userManager = \OC::$server->getUserManager(); $userManager->clearBackends(); $userManager->registerBackend($this->backend); $users = $userManager->search('', 5, 0); |