Adjust keycloak_required_action resource to not use metaparameter alias #512
Annotations
10 errors and 1 warning
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L21
Puppet::Type::Keycloak_required_action adds to catalog without raising an error
Failure/Error:
expect {
catalog.add_resource resource
}.not_to raise_error
expected no Exception, got #<Puppet::ResourceError: Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog> with backtrace:
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:1455:in `block (2 levels) in <class:Type>'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/parameter.rb:443:in `munge'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/parameter.rb:515:in `value='
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:681:in `[]='
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2499:in `block in set_parameters'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2493:in `each'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2493:in `set_parameters'
# ./vendor/bundle/ruby/2.7.0/gems/puppet-7.33.0/lib/puppet/type.rb:2389:in `initialize'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:18:in `new'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:18:in `block (2 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:24:in `block (3 levels) in <top (required)>'
# ./spec/unit/puppet/type/keycloak_required_action_spec.rb:23:in `block (2 levels) in <top (required)>'
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L28
Puppet::Type::Keycloak_required_action has alias default to provider_id
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L33
Puppet::Type::Keycloak_required_action handles componsite name
Failure/Error: expect(component[:alias]).to eq('foo')
expected: "foo"
got: nil
(compared using ==)
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L55
Puppet::Type::Keycloak_required_action basic properties accepts a realm
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L55
Puppet::Type::Keycloak_required_action basic properties accepts a name
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L55
Puppet::Type::Keycloak_required_action basic properties accepts a display_name
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L55
Puppet::Type::Keycloak_required_action basic properties accepts a provider_id
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L55
Puppet::Type::Keycloak_required_action basic properties accepts a alias
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "foo" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L74
Puppet::Type::Keycloak_required_action boolean properties accepts true for enabled
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
Run tests:
spec/unit/puppet/type/keycloak_required_action_spec.rb#L79
Puppet::Type::Keycloak_required_action boolean properties accepts true for enabled string
Failure/Error: described_class.new(config)
Puppet::ResourceError:
Parameter alias failed on Keycloak_required_action[foo]: Munging failed for value "something" in class alias: Cannot add aliases without a catalog
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading