diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-02-22 12:45:28 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-02-26 10:32:31 +0100 |
commit | f015d38a89eedef02c713a8623ad2b03c2b3e728 (patch) | |
tree | 9ab8e8a2b53409e598a901b1d19e1c7cbbda26af /apps/user_ldap/tests | |
parent | 7e424e52a3a7d62c3d553c0c743b94c7512ac2ec (diff) | |
download | nextcloud-server-f015d38a89eedef02c713a8623ad2b03c2b3e728.tar.gz nextcloud-server-f015d38a89eedef02c713a8623ad2b03c2b3e728.zip |
track the state of the bind result
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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)); |