mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-29 19:31:41 +00:00
Merge pull request #18108 from uberbrady/fix_ldap_tests
Fixed - LDAP test needs to be fixed to match new behavior
This commit is contained in:
commit
2b4986571c
@ -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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user