summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 13:23:56 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 13:34:42 +0100
commit8d4346d65688d2aabd6e144fe3f3609897a46230 (patch)
tree3f18b81fc97ce781ed16eb2eb2d9687d2daf3e32 /apps/user_ldap
parentf2ef35dbf1401e15361c6535734fa77fbec636b7 (diff)
downloadnextcloud-server-8d4346d65688d2aabd6e144fe3f3609897a46230.tar.gz
nextcloud-server-8d4346d65688d2aabd6e144fe3f3609897a46230.zip
Fix more tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/tests/WizardTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/WizardTest.php b/apps/user_ldap/tests/WizardTest.php
index 05b0c5a9449..32147c2b329 100644
--- a/apps/user_ldap/tests/WizardTest.php
+++ b/apps/user_ldap/tests/WizardTest.php
@@ -32,6 +32,7 @@ use OCA\User_LDAP\Access;
use OCA\User_LDAP\Configuration;
use OCA\User_LDAP\ILDAPWrapper;
use OCA\User_LDAP\Wizard;
+use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
/**
@@ -80,7 +81,7 @@ class WizardTest extends TestCase {
return array(new Wizard($conf, $lw, $access), $conf, $lw, $access);
}
- private function prepareLdapWrapperForConnections(\PHPUnit_Framework_MockObject_MockObject &$ldap) {
+ private function prepareLdapWrapperForConnections(MockObject &$ldap) {
$ldap->expects($this->once())
->method('connect')
//dummy value, usually invalid