diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-26 15:10:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-26 15:10:52 +0100 |
commit | 88ece3f5d7b061ab604edbb336747b3f2f61ba52 (patch) | |
tree | ec8852ace5dc24d8fe2f0bdc1acac629e64585c5 /apps/user_ldap/tests | |
parent | bf2f744bc7e82e754a368dca72df6fc1bc01e3a8 (diff) | |
parent | fb2ebbd23266a54b2430046913bda88996df40d4 (diff) | |
download | nextcloud-server-88ece3f5d7b061ab604edbb336747b3f2f61ba52.tar.gz nextcloud-server-88ece3f5d7b061ab604edbb336747b3f2f61ba52.zip |
Merge pull request #8532 from nextcloud/8499-stable13
[stable13] Avoid fruitless login attempts
Diffstat (limited to 'apps/user_ldap/tests')
-rw-r--r-- | apps/user_ldap/tests/ConnectionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/ConnectionTest.php b/apps/user_ldap/tests/ConnectionTest.php index c0f91d25d39..cead84b05b0 100644 --- a/apps/user_ldap/tests/ConnectionTest.php +++ b/apps/user_ldap/tests/ConnectionTest.php @@ -174,7 +174,7 @@ class ConnectionTest extends \Test\TestCase { ->method('connect') ->will($this->returnValue('ldapResource')); - $this->ldap->expects($this->exactly(2)) + $this->ldap->expects($this->once()) ->method('bind') ->will($this->returnValue(false)); |