summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/User
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-12 16:35:33 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-25 16:04:59 +0200
commitaf0a6961b1ae867e354ecf71d61708af9618c44f (patch)
tree6f5805dc9d1055d9be985f69d0b223a8daa15944 /apps/user_ldap/tests/User
parent387019a212224ffbd4300576b9c28e61d5e021a6 (diff)
downloadnextcloud-server-af0a6961b1ae867e354ecf71d61708af9618c44f.tar.gz
nextcloud-server-af0a6961b1ae867e354ecf71d61708af9618c44f.zip
Move Connection to PSR-4
Diffstat (limited to 'apps/user_ldap/tests/User')
-rw-r--r--apps/user_ldap/tests/User/ManagerTest.php2
-rw-r--r--apps/user_ldap/tests/User/UserTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/User/ManagerTest.php b/apps/user_ldap/tests/User/ManagerTest.php
index 478cd2aca8c..09eff64b9b1 100644
--- a/apps/user_ldap/tests/User/ManagerTest.php
+++ b/apps/user_ldap/tests/User/ManagerTest.php
@@ -46,7 +46,7 @@ class ManagerTest extends \Test\TestCase {
$dbc = $this->getMock('\OCP\IDBConnection');
$userMgr = $this->getMock('\OCP\IUserManager');
- $connection = new \OCA\user_ldap\lib\Connection(
+ $connection = new \OCA\User_LDAP\Connection(
$lw = $this->getMock('\OCA\User_LDAP\ILDAPWrapper'),
'',
null
diff --git a/apps/user_ldap/tests/User/UserTest.php b/apps/user_ldap/tests/User/UserTest.php
index 63854685023..9d165c7f29e 100644
--- a/apps/user_ldap/tests/User/UserTest.php
+++ b/apps/user_ldap/tests/User/UserTest.php
@@ -55,7 +55,7 @@ class UserTest extends \Test\TestCase {
static $umMethods;
if(is_null($conMethods) || is_null($accMethods)) {
- $conMethods = get_class_methods('\OCA\user_ldap\lib\Connection');
+ $conMethods = get_class_methods('\OCA\User_LDAP\Connection');
$accMethods = get_class_methods('\OCA\user_ldap\lib\Access');
//getConnection shall not be replaced
unset($accMethods[array_search('getConnection', $accMethods)]);
@@ -68,7 +68,7 @@ class UserTest extends \Test\TestCase {
}
$um = $this->getMock('\OCA\User_LDAP\User\Manager',
$umMethods, array($cfMock, $fsMock, $logMock, $avaMgr, $im, $dbc, $userMgr));
- $connector = $this->getMock('\OCA\user_ldap\lib\Connection',
+ $connector = $this->getMock('\OCA\User_LDAP\Connection',
$conMethods, array($lw, null, null));
$access = $this->getMock('\OCA\user_ldap\lib\Access',
$accMethods, array($connector, $lw, $um));