diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-02 11:02:12 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-09-06 09:29:27 +0200 |
commit | 5fb2eee5df6bfbe3d608709fbe6997860fe4d648 (patch) | |
tree | c94f53f8128e92268ff10755066f3d0d2ef76b38 /apps/user_ldap/tests/Group_LDAPTest.php | |
parent | 798dd401391bc9d88292b50f9a17f01546f70624 (diff) | |
download | nextcloud-server-5fb2eee5df6bfbe3d608709fbe6997860fe4d648.tar.gz nextcloud-server-5fb2eee5df6bfbe3d608709fbe6997860fe4d648.zip |
Fix getMock user_ldap
Diffstat (limited to 'apps/user_ldap/tests/Group_LDAPTest.php')
-rw-r--r-- | apps/user_ldap/tests/Group_LDAPTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/Group_LDAPTest.php b/apps/user_ldap/tests/Group_LDAPTest.php index 83ec2dedf22..12f7eaa2256 100644 --- a/apps/user_ldap/tests/Group_LDAPTest.php +++ b/apps/user_ldap/tests/Group_LDAPTest.php @@ -31,6 +31,7 @@ namespace OCA\User_LDAP\Tests; use OCA\User_LDAP\Group_LDAP as GroupLDAP; use OCA\User_LDAP\Access; use OCA\User_LDAP\Connection; +use OCA\User_LDAP\ILDAPWrapper; /** * Class GroupLDAPTest @@ -48,7 +49,7 @@ class Group_LDAPTest extends \Test\TestCase { $conMethods = get_class_methods('\OCA\User_LDAP\Connection'); $accMethods = get_class_methods('\OCA\User_LDAP\Access'); } - $lw = $this->getMock('\OCA\User_LDAP\ILDAPWrapper'); + $lw = $this->createMock(ILDAPWrapper::class); $connector = $this->getMock('\OCA\User_LDAP\Connection', $conMethods, array($lw, null, null)); |