Implement realm otp, webauthn, webauthn passwordless and bruteforce properties #477
Annotations
10 errors and 1 warning
spec/unit/puppet/type/keycloak_realm_spec.rb#L119
Puppet::Type::Keycloak_realm enumerable properties does not accept foo for otp_policy_digits
Failure/Error:
expect {
resource
}.to raise_error(%r{foo})
expected Exception with message matching /foo/, got #<Puppet::ResourceError: Parameter otp_policy_digits failed on Keycloak_realm[test]: otp_policy_digits should be an Integer> with backtrace:
# ./lib/puppet_x/keycloak/integer_property.rb:9:in `block in <class:IntegerProperty>'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/parameter.rb:479:in `validate'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:549:in `block in should='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:549:in `each'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:549:in `should='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:608:in `value='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:690:in `[]='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2451:in `block in set_parameters'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2446:in `each'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2446:in `set_parameters'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2343:in `initialize'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:15:in `new'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:15:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:122:in `block (5 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:121:in `block (4 levels) in <top (required)>'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L126
Puppet::Type::Keycloak_realm enumerable properties does not accept empty for otp_policy_digits
Failure/Error:
expect {
resource
}.to raise_error(%r{Invalid value ""})
expected Exception with message matching /Invalid value ""/, got #<Puppet::ResourceError: Parameter otp_policy_digits failed on Keycloak_realm[test]: otp_policy_digits should be an Integer> with backtrace:
# ./lib/puppet_x/keycloak/integer_property.rb:9:in `block in <class:IntegerProperty>'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/parameter.rb:479:in `validate'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:549:in `block in should='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:549:in `each'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:549:in `should='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:608:in `value='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:690:in `[]='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2451:in `block in set_parameters'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2446:in `each'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2446:in `set_parameters'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2343:in `initialize'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:15:in `new'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:15:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:129:in `block (5 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:128:in `block (4 levels) in <top (required)>'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L140
Puppet::Type::Keycloak_realm enumerable properties has default for otp_policy_digits
Failure/Error: expect(resource[p]).to eq(defaults[p].to_sym)
NoMethodError:
undefined method `to_sym' for 6:Integer
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L256
Puppet::Type::Keycloak_realm boolean properties accepts true for otp_policy_counter_based
Failure/Error: described_class.new(config)
Puppet::Error:
no parameter named 'otp_policy_counter_based'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L261
Puppet::Type::Keycloak_realm boolean properties accepts true for otp_policy_counter_based string
Failure/Error: described_class.new(config)
Puppet::Error:
no parameter named 'otp_policy_counter_based'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L266
Puppet::Type::Keycloak_realm boolean properties accepts false for otp_policy_counter_based
Failure/Error: described_class.new(config)
Puppet::Error:
no parameter named 'otp_policy_counter_based'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L271
Puppet::Type::Keycloak_realm boolean properties accepts false for otp_policy_counter_based string
Failure/Error: described_class.new(config)
Puppet::Error:
no parameter named 'otp_policy_counter_based'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L276
Puppet::Type::Keycloak_realm boolean properties does not accept strings for otp_policy_counter_based
Failure/Error:
expect {
resource
}.to raise_error(%r{foo})
expected Exception with message matching /foo/, got #<Puppet::Error: no parameter named 'otp_policy_counter_based'> with backtrace:
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/util/errors.rb:159:in `fail'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:677:in `[]='
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2451:in `block in set_parameters'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2446:in `each'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2446:in `set_parameters'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/type.rb:2343:in `initialize'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:15:in `new'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:15:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:279:in `block (5 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:278:in `block (4 levels) in <top (required)>'
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L285
Puppet::Type::Keycloak_realm boolean properties has default for otp_policy_counter_based
Failure/Error: expect(resource[p]).to eq(defaults[p])
Puppet::Error:
Invalid parameter otp_policy_counter_based(:otp_policy_counter_based)
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading