mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
LDAP test needs to be fixed to match new behavior
This commit is contained in:
@@ -121,7 +121,7 @@ class LdapTest extends TestCase
|
||||
$ldap_set_option->expects($this->exactly(12));
|
||||
|
||||
//
|
||||
$this->getFunctionMock("App\\Models", "ldap_bind")->expects($this->exactly(4))->willReturn(
|
||||
$this->getFunctionMock("App\\Models", "ldap_bind")->expects($this->exactly(3))->willReturn(
|
||||
true, /* initial admin connection for 'fast path' */
|
||||
false, /* the actual login for the user */
|
||||
false, /* the direct login for the user binding-as-themselves in the legacy path */
|
||||
|
||||
Reference in New Issue
Block a user