diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-09 22:08:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 22:08:02 +0200 |
commit | 3b955a16252a4581251368638038da11812fa94c (patch) | |
tree | 251257a05962eeebf645a2ed3e141ce9b4af5c9e /apps/user_ldap/tests/User_LDAPTest.php | |
parent | e08768ee04635d017a3f2f87e7ac6b1859f733dc (diff) | |
parent | c6f6413bb195f043e6054bc8b38dedcf1bfdf6cc (diff) | |
download | nextcloud-server-3b955a16252a4581251368638038da11812fa94c.tar.gz nextcloud-server-3b955a16252a4581251368638038da11812fa94c.zip |
Merge pull request #5791 from nextcloud/add-php7.2-tests
[CI] Add PHP 7.2 testing container
Diffstat (limited to 'apps/user_ldap/tests/User_LDAPTest.php')
-rw-r--r-- | apps/user_ldap/tests/User_LDAPTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/User_LDAPTest.php b/apps/user_ldap/tests/User_LDAPTest.php index aaf67ebcab6..ced5009148d 100644 --- a/apps/user_ldap/tests/User_LDAPTest.php +++ b/apps/user_ldap/tests/User_LDAPTest.php @@ -135,6 +135,9 @@ class User_LDAPTest extends TestCase { return false; } })); + + $access->method('fetchUsersByLoginName') + ->willReturn([]); } /** @@ -353,6 +356,9 @@ class User_LDAPTest extends TestCase { $access->expects($this->any()) ->method('nextcloudUserNames') ->will($this->returnArgument(0)); + + $access->method('fetchUsersByLoginName') + ->willReturn([]); } public function testGetUsersNoParam() { @@ -760,6 +766,9 @@ class User_LDAPTest extends TestCase { $access->expects($this->any()) ->method('getUserMapper') ->will($this->returnValue($userMapper)); + + $access->method('fetchUsersByLoginName') + ->willReturn([]); } public function testGetDisplayName() { |