Skip to content

Commit

Permalink
fixed TestInvalidBaseAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Oct 19, 2024
1 parent 7f45c96 commit 6a9ff1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailgun_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestInvalidBaseAPI(t *testing.T) {
ctx := context.Background()
_, err := mg.GetDomain(ctx, "unknown.domain")
ensure.NotNil(t, err)
ensure.DeepEqual(t, err.Error(), `BaseAPI must end with a /v2, /v3 or /v4; setBaseAPI("https://host/v3")`)
ensure.DeepEqual(t, err.Error(), `BaseAPI must end with a /v1, /v2, /v3 or /v4; setBaseAPI("https://host/v3")`)
}

func TestValidBaseAPI(t *testing.T) {
Expand Down

0 comments on commit 6a9ff1a

Please sign in to comment.