diff --git a/FlexiMail.Test.Integration/Clients/FlexiMailClientTests.SendAndCopy.cs b/FlexiMail.Test.Integration/Clients/FlexiMailClientTests.SendAndCopy.cs index 4d2e493..b525962 100644 --- a/FlexiMail.Test.Integration/Clients/FlexiMailClientTests.SendAndCopy.cs +++ b/FlexiMail.Test.Integration/Clients/FlexiMailClientTests.SendAndCopy.cs @@ -25,12 +25,8 @@ public async void ShouldSendAndCopyMessageAsync() } }; - // when - var sendMessageTask = - this.flexiMailClient.SendAndSaveCopyAsync(flexiMessage); - - // then - Assert.True(sendMessageTask.IsCompletedSuccessfully, "The message should be sent and copied successfully."); + // when then + await this.flexiMailClient.SendAndSaveCopyAsync(flexiMessage); } } } \ No newline at end of file