Skip to content

Commit 2b49865

Browse files
authored
Merge pull request #18108 from uberbrady/fix_ldap_tests
Fixed - LDAP test needs to be fixed to match new behavior
2 parents e698e71 + 890d13b commit 2b49865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/LdapTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function testFindAndBindBadPassword()
121121
$ldap_set_option->expects($this->exactly(12));
122122

123123
//
124-
$this->getFunctionMock("App\\Models", "ldap_bind")->expects($this->exactly(4))->willReturn(
124+
$this->getFunctionMock("App\\Models", "ldap_bind")->expects($this->exactly(3))->willReturn(
125125
true, /* initial admin connection for 'fast path' */
126126
false, /* the actual login for the user */
127127
false, /* the direct login for the user binding-as-themselves in the legacy path */

0 commit comments

Comments
 (0)