Improve coverage

This commit is contained in:
Antoine Nguyen
2025-07-18 16:36:52 +02:00
parent b6204e23fd
commit 078f8e25e6
+6
View File
@@ -100,6 +100,12 @@ class LDAPAuthenticationTestCase(LDAPTestCaseMixin, ModoTestCase):
def test_searchbind_authentication(self):
"""Test the bind&search method."""
self.searchbind_mode()
self.set_global_parameters(
{
"ldap_admin_groups": "",
"ldap_groups_search_base": "",
}
)
username = "testuser@example.com"
self.authenticate(username, "test")
self.check_created_user(username)