diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 16:44:51 +0300 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-14 16:44:51 +0300 |
commit | 113028581cd51aa6f9692afd96a6bd2fb4b7796c (patch) | |
tree | 985edabbbe370d89413784fc8ba2720146b04707 | |
parent | 129584c96613902fd0e4cc934b40d0c24c77e4c3 (diff) |
Remove bogus expects from user_ldap testsfix/remove-at-matcher-in-user_ldap-tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-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)); |