diff --git a/spec/unit/puppet/type/keycloak_realm_spec.rb b/spec/unit/puppet/type/keycloak_realm_spec.rb index a7024920..e6919d46 100644 --- a/spec/unit/puppet/type/keycloak_realm_spec.rb +++ b/spec/unit/puppet/type/keycloak_realm_spec.rb @@ -57,7 +57,14 @@ admin_events_enabled: :false, admin_events_details_enabled: :false, offline_session_max_lifespan_enabled: :false, - internationalization_enabled: :false + internationalization_enabled: :false, + permanent_lockout: :false, + max_failure_wait_seconds: 900, + minimum_quick_login_wait_seconds: 60, + wait_increment_seconds: 60, + quick_login_check_milli_seconds: 1000, + max_delta_time_seconds: 43200, + failure_factor: 30, } describe 'basic properties' do @@ -116,7 +123,13 @@ :action_token_generated_by_user_lifespan, :offline_session_idle_timeout, :offline_session_max_lifespan, - :smtp_server_port + :smtp_server_port, + :max_failure_wait_seconds, + :minimum_quick_login_wait_seconds, + :wait_increment_seconds, + :quick_login_check_milli_seconds, + :max_delta_time_seconds, + :failure_factor, ].each do |p| it "accepts a #{p}" do config[p] = 100 @@ -151,7 +164,8 @@ :smtp_server_starttls, :smtp_server_ssl, :brute_force_protected, - :offline_session_max_lifespan_enabled + :offline_session_max_lifespan_enabled, + :permanent_lockout, ].each do |p| it "accepts true for #{p}" do config[p] = true