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-22 13:05:33 +0100 |
commit | 9bc75307e788d99277ee7130a52ccae1b913cc6d (patch) | |
tree | f753b015a69a1c4f948a90032e8c20c7aacbad31 /apps/user_ldap/tests | |
parent | c2c2c06546801d956778f5ab87e9042d45b40dc4 (diff) | |
download | nextcloud-server-9bc75307e788d99277ee7130a52ccae1b913cc6d.tar.gz nextcloud-server-9bc75307e788d99277ee7130a52ccae1b913cc6d.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)); |