From fb3b6806f4586006fb660775a1f79bcd0a52f777 Mon Sep 17 00:00:00 2001 From: Elise Shanholtz Date: Thu, 18 Nov 2021 10:37:02 -0800 Subject: [PATCH] fix tests --- Makefile | 2 +- tests/SendGrid.Tests/Integration.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3d6e572bf..640fcd395 100644 --- a/Makefile +++ b/Makefile @@ -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: diff --git a/tests/SendGrid.Tests/Integration.cs b/tests/SendGrid.Tests/Integration.cs index 16b70143e..589749384 100644 --- a/tests/SendGrid.Tests/Integration.cs +++ b/tests/SendGrid.Tests/Integration.cs @@ -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); } @@ -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); }