diff --git a/send_test.go b/send_test.go index b39a8e9..5c2d497 100644 --- a/send_test.go +++ b/send_test.go @@ -102,7 +102,7 @@ func TestTeamsClientSend(t *testing.T) { reqURL: "https://outlook.office.com/webhook/xxx", reqMsg: simpleMsgCard, resStatus: 200, - resBody: http.StatusText(http.StatusOK), + resBody: ExpectedWebhookURLResponseText, resError: nil, error: nil, skipURLVal: false, @@ -112,7 +112,7 @@ func TestTeamsClientSend(t *testing.T) { reqURL: "https://outlook.office365.com/webhook/xxx", reqMsg: simpleMsgCard, resStatus: 200, - resBody: http.StatusText(http.StatusOK), + resBody: ExpectedWebhookURLResponseText, resError: nil, error: nil, skipURLVal: false, @@ -140,7 +140,7 @@ func TestTeamsClientSend(t *testing.T) { reqURL: "https://example.webhook.office.com/webhook/xxx", reqMsg: simpleMsgCard, resStatus: 200, - resBody: http.StatusText(http.StatusOK), + resBody: ExpectedWebhookURLResponseText, resError: nil, error: nil, skipURLVal: true,