Skip to content

Commit 768b302

Browse files
committed
CODE RUB: Clean up
1 parent b64ac7b commit 768b302

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

FlexiMail.Test.Integration/Clients/FlexiMailClientTests.SendAndCopy.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,8 @@ public async void ShouldSendAndCopyMessageAsync()
2525
}
2626
};
2727

28-
// when
29-
var sendMessageTask =
30-
this.flexiMailClient.SendAndSaveCopyAsync(flexiMessage);
31-
32-
// then
33-
Assert.True(sendMessageTask.IsCompletedSuccessfully, "The message should be sent and copied successfully.");
28+
// when then
29+
await this.flexiMailClient.SendAndSaveCopyAsync(flexiMessage);
3430
}
3531
}
3632
}

0 commit comments

Comments
 (0)