From 6a9ff1abef06924767f8c4b6c7721921582debdc Mon Sep 17 00:00:00 2001 From: Vilen Topchii <32271530+vtopc@users.noreply.github.com> Date: Sat, 19 Oct 2024 20:59:52 +0300 Subject: [PATCH] fixed TestInvalidBaseAPI --- mailgun_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailgun_test.go b/mailgun_test.go index 8ac3f705..815b4067 100644 --- a/mailgun_test.go +++ b/mailgun_test.go @@ -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) {