We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c213614 commit f92eb28Copy full SHA for f92eb28
main_test.go
@@ -21,7 +21,6 @@ func TestValidate(t *testing.T) {
21
// fixture.RunBasic(t)
22
// fixture.RunExtended(t)
23
24
-
25
// No endpoint provided
26
err := s.validate(&ovhDNSProviderConfig{}, false)
27
if err == nil || err.Error() != "no endpoint provided in OVH config" {
@@ -82,7 +81,7 @@ func TestValidate(t *testing.T) {
82
81
Endpoint: "ovh-eu",
83
AuthenticationMethod: "foo",
84
}, false)
85
- if err == nil || err.Error() != "invalid value for authentifaction method, allowed values: application, oauth2" {
+ if err == nil || err.Error() != "invalid value for authentifaction method, allowed values: 'application' and 'oauth2'" {
86
t.Errorf("expected invalid method error, got %v", err)
87
}
88
0 commit comments