Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eshanholtz committed Nov 18, 2021
1 parent 9a3a307 commit fb3b680
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test:
test-integ: test

test-docker:
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/gh-actions/prism/prism.sh -o prism.sh
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
bash ./prism.sh

release:
Expand Down
4 changes: 2 additions & 2 deletions tests/SendGrid.Tests/Integration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4838,7 +4838,7 @@ public async Task TestSuppressionSpamReportEmailGet()
{
var sg = GetClient("200");
var email = "test_url_param";
var response = await sg.RequestAsync(method: SendGridClient.Method.GET, urlPath: "suppression/spam_report/" + email);
var response = await sg.RequestAsync(method: SendGridClient.Method.GET, urlPath: "suppression/spam_reports/" + email);
Assert.Equal(HttpStatusCode.OK, response.StatusCode);
}

Expand All @@ -4847,7 +4847,7 @@ public async Task TestSuppressionSpamReportEmailDelete()
{
var sg = GetClient("204");
var email = "test_url_param";
var response = await sg.RequestAsync(method: SendGridClient.Method.DELETE, urlPath: "suppression/spam_report/" + email);
var response = await sg.RequestAsync(method: SendGridClient.Method.DELETE, urlPath: "suppression/spam_reports/" + email);
Assert.Equal(HttpStatusCode.NoContent, response.StatusCode);
}

Expand Down

0 comments on commit fb3b680

Please sign in to comment.