Implement realm otp, webauthn, webauthn passwordless and bruteforce properties #480
Annotations
5 errors and 1 warning
spec/unit/puppet/type/keycloak_realm_spec.rb#L98
Puppet::Type::Keycloak_realm otp_policy_digits accepts 6 for otp_policy_digits
Failure/Error: expect(resource[:otp_policy_digits]).to eq(6)
expected: 6
got: :"6"
(compared using ==)
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L103
Puppet::Type::Keycloak_realm otp_policy_digits accepts 8 for otp_policy_digits
Failure/Error: expect(resource[:otp_policy_digits]).to eq(8)
expected: 8
got: :"8"
(compared using ==)
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L122
Puppet::Type::Keycloak_realm otp_policy_digits has default for otp_policy_digits
Failure/Error: expect(resource[:otp_policy_digits]).to eq(defaults[:otp_policy_digits])
expected: 6
got: :"6"
(compared using ==)
|
spec/unit/puppet/type/keycloak_realm_spec.rb#L140
Puppet::Type::Keycloak_realm otp_policy_digits does not accept foo for otp_policy_digits
Failure/Error:
expect {
resource
}.to raise_error(%r{should be an Integer})
expected Exception with message matching /should be an Integer/, got #<Puppet::ResourceError: Parameter otp_policy_digits failed on Keycloak_realm[test]: Invalid value "foo". Valid values are 6, 8.> with backtrace:
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/parameter/value_collection.rb:191:in `validate'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/parameter.rb:464:in `unsafe_validate'
# ./vendor/bundle/ruby/3.2.0/gems/puppet-8.7.0/lib/puppet/property.rb:579:in `unsafe_validate'
# ./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:143:in `block (4 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_realm_spec.rb:142:in `block (3 levels) in <top (required)>'
|
|
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