Support Foreman >= 3.9 #157
Annotations
2 errors
Run rake test:foreman_vault:
foreman_vault/test/unit/services/foreman_vault/vault_auth_method_test.rb#L22
Failure: test_0001_creates auth method in the Vault
unexpected invocation: #<ForemanVault::VaultAuthMethod:0x20328>.set_certificate("name", {:certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host11.example10.com"]})
unsatisfied expectations:
- expected exactly once, invoked never: #<ForemanVault::VaultAuthMethod:0x20328>.set_certificate("name", :certificate => "cert", :token_policies => "vault_policy_name", :allowed_common_names => ["host11.example10.com"])
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x20328>.certificate(any_parameters)
- allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x20328>.vault_policy_name(any_parameters)
- allowed any number of times, invoked twice: #<ForemanVault::VaultAuthMethod:0x20328>.name(any_parameters)
|
Run rake test:foreman_vault
Process completed with exit code 1.
|
Loading