From 673ff89aac1abbfdb6222c98bf05eb3904a1c612 Mon Sep 17 00:00:00 2001 From: blancfabian Date: Thu, 2 Nov 2023 12:46:50 -0300 Subject: [PATCH] fix: typo --- GreenArrow.Engine.Test/DKIMKeysApi/DKIMKeysApiTest.cs | 4 ++-- GreenArrow.Engine/DKIMKeysApi/IDKIMKeysApi.cs | 2 +- GreenArrow.Engine/HttpSubmissionApi/IHttpSubmissionApi.cs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GreenArrow.Engine.Test/DKIMKeysApi/DKIMKeysApiTest.cs b/GreenArrow.Engine.Test/DKIMKeysApi/DKIMKeysApiTest.cs index bd8743c..a2efff8 100644 --- a/GreenArrow.Engine.Test/DKIMKeysApi/DKIMKeysApiTest.cs +++ b/GreenArrow.Engine.Test/DKIMKeysApi/DKIMKeysApiTest.cs @@ -131,8 +131,8 @@ public async Task Post_should_throw_RestApiException_upon_an_exception_in_the_im public async Task Post_should_return_deserialized_response_content_on_sucessfull() { // Arrange - var DKIMKeysResponse = specimens.Create(); - var httpContent = new StringContent(DKIMKeysResponse.ToJson()); + var DKIMKeysResponse = specimens.Create(); + var httpContent = new StringContent(DKIMKeysResponse.ToJson(true)); var httpResponseMessage = new HttpResponseMessage { diff --git a/GreenArrow.Engine/DKIMKeysApi/IDKIMKeysApi.cs b/GreenArrow.Engine/DKIMKeysApi/IDKIMKeysApi.cs index e7846de..e31f90d 100644 --- a/GreenArrow.Engine/DKIMKeysApi/IDKIMKeysApi.cs +++ b/GreenArrow.Engine/DKIMKeysApi/IDKIMKeysApi.cs @@ -12,7 +12,7 @@ public interface IDKIMKeysApi /// Create a DKIM Key /// /// - /// The cancellation toekn + /// The cancellation token /// A generic rest api response with the deserialized DKIM Keys API response when success Task> PostAsync(DKIMKeysRequest request, CancellationToken cancellationToken = default); } diff --git a/GreenArrow.Engine/HttpSubmissionApi/IHttpSubmissionApi.cs b/GreenArrow.Engine/HttpSubmissionApi/IHttpSubmissionApi.cs index dba0f44..a76dfbe 100755 --- a/GreenArrow.Engine/HttpSubmissionApi/IHttpSubmissionApi.cs +++ b/GreenArrow.Engine/HttpSubmissionApi/IHttpSubmissionApi.cs @@ -12,7 +12,7 @@ public interface IHttpSubmissionApi /// Submit messages for delivery /// /// - /// The cancellation toekn + /// The cancellation token /// A generic rest api response with the deserialized Http Submission API response when success Task> PostAsync(HttpSubmissionRequest request, CancellationToken cancellationToken = default); @@ -20,7 +20,7 @@ public interface IHttpSubmissionApi /// Submit messages for delivery /// /// - /// The cancellation toekn + /// The cancellation token /// A generic rest api response with the deserialized Http Submission API response when success Task> PutAsync(HttpSubmissionRequest request, CancellationToken cancellationToken = default); }