From a5a4bec014df43d6ce09ac2520237f0caeb13aed Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Thu, 28 Jan 2021 12:54:00 -0600 Subject: [PATCH] Update test entries to use expected response text Current tests fail with prior change, pass now with updated response text to match updated validation requirement. refs GH-59 --- send_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,