diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 15:44:51 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 15:44:51 +0200 |
commit | 113028581cd51aa6f9692afd96a6bd2fb4b7796c (patch) | |
tree | 985edabbbe370d89413784fc8ba2720146b04707 /apps/user_ldap | |
parent | 129584c96613902fd0e4cc934b40d0c24c77e4c3 (diff) | |
download | nextcloud-server-113028581cd51aa6f9692afd96a6bd2fb4b7796c.tar.gz nextcloud-server-113028581cd51aa6f9692afd96a6bd2fb4b7796c.zip |
Remove bogus expects from user_ldap tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/tests/LDAPProviderTest.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/LDAPProviderTest.php b/apps/user_ldap/tests/LDAPProviderTest.php index f937ecd66c2..8a071119d16 100644 --- a/apps/user_ldap/tests/LDAPProviderTest.php +++ b/apps/user_ldap/tests/LDAPProviderTest.php @@ -58,9 +58,6 @@ class LDAPProviderTest extends \Test\TestCase { ->setMethods(['getUserManager', 'getBackends', 'getGroupManager']) ->setConstructorArgs(['', new \OC\Config(\OC::$configDir)]) ->getMock(); - $server->expects($this->never()) - ->method('getBackends') - ->willReturn([$userBackend]); $server->expects($this->any()) ->method('getUserManager') ->willReturn($this->getUserManagerMock($userBackend)); |