LDAP test needs to be fixed to match new behavior

This commit is contained in:
Brady Wetherington
2025-10-28 12:30:30 +00:00
parent e698e71137
commit 890d13bd52

View File

@@ -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 */