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/WizardTest.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/WizardTest.php')
-rw-r--r-- | apps/user_ldap/tests/WizardTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/WizardTest.php b/apps/user_ldap/tests/WizardTest.php index e82cbcfc82a..3aefa8779a2 100644 --- a/apps/user_ldap/tests/WizardTest.php +++ b/apps/user_ldap/tests/WizardTest.php @@ -26,6 +26,7 @@ namespace OCA\User_LDAP\Tests; +use OCA\User_LDAP\ILDAPWrapper; use \OCA\User_LDAP\Wizard; /** @@ -59,7 +60,7 @@ class WizardTest extends \Test\TestCase { $connMethods = 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); $conf = $this->getMock('\OCA\User_LDAP\Configuration', $confMethods, array($lw, null, null)); |