Browse Source

config: fix puppetdb tests

This PR fixes the tests in main. The last merge introduced a failing
test in the config package.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/9350/head
Julien Pivotto 3 years ago
parent
commit
9d65017798
  1. 4
      config/config_test.go

4
config/config_test.go

@ -1297,7 +1297,7 @@ var expectedErrors = []struct {
}, },
{ {
filename: "puppetdb_no_url.bad.yml", filename: "puppetdb_no_url.bad.yml",
errMsg: "url missing", errMsg: "URL is missing",
}, },
{ {
filename: "puppetdb_bad_url.bad.yml", filename: "puppetdb_bad_url.bad.yml",
@ -1305,7 +1305,7 @@ var expectedErrors = []struct {
}, },
{ {
filename: "puppetdb_no_scheme.bad.yml", filename: "puppetdb_no_scheme.bad.yml",
errMsg: "url scheme must be http or https", errMsg: "URL scheme must be 'http' or 'https'",
}, },
{ {
filename: "hetzner_role.bad.yml", filename: "hetzner_role.bad.yml",

Loading…
Cancel
Save