Skip to content

Commit

Permalink
Update test entries to use expected response text
Browse files Browse the repository at this point in the history
Current tests fail with prior change, pass now with updated
response text to match updated validation requirement.

refs GH-59
  • Loading branch information
atc0005 committed Jan 28, 2021
1 parent 67ddeae commit a5a4bec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a5a4bec

Please sign in to comment.