Skip to content

Commit

Permalink
CODE RUB: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mabroukmahdhi committed Aug 11, 2024
1 parent b64ac7b commit 768b302
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 768b302

Please sign in to comment.