Skip to content

Commit

Permalink
Assert result.IsSuccess to get 100% coverage?
Browse files Browse the repository at this point in the history
  • Loading branch information
SandGrainOne committed Oct 3, 2023
1 parent 7dddb01 commit 4c4e55a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public async Task RegisterEmailNotificationOrder_ExpectedInputToRepository()
result.Match<NotificationOrder?>(successValue => successValue, failureValue => null);

// Assert
Assert.True(result.IsSuccess);
Assert.Equivalent(expected, actual, true);
repoMock.VerifyAll();
}
Expand Down

0 comments on commit 4c4e55a

Please sign in to comment.