Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-11-22 15:23:56 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-11-27 15:34:42 +0300
commit8d4346d65688d2aabd6e144fe3f3609897a46230 (patch)
tree3f18b81fc97ce781ed16eb2eb2d9687d2daf3e32 /apps/user_ldap/tests
parentf2ef35dbf1401e15361c6535734fa77fbec636b7 (diff)
Fix more tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap/tests')
-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