diff --git a/tests/Feature/Settings/LdapSettingsTest.php b/tests/Feature/Settings/LdapSettingsTest.php
index 317ccb42df..154a441385 100644
--- a/tests/Feature/Settings/LdapSettingsTest.php
+++ b/tests/Feature/Settings/LdapSettingsTest.php
@@ -28,6 +28,7 @@ class LdapSettingsTest extends TestCase
                 'ldap_basedn' => 'uid=',
                 'ldap_fname_field' => 'SomeFirstnameField',
                 'ldap_server' => 'ldaps://ldap.example.com',
+                'ldap_invert_active_flag' => 0,
             ]))
             ->assertStatus(302)
             ->assertValid('ldap_enabled')