Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
martapederiva committed May 8, 2024
1 parent 4f604b3 commit 8572744
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ public void WhenEndDateIsEqualToStartDateNoError()
[Fact]
public void WhenEndDateIsLessThanStartDateHasError()
{
var now = DateTime.UtcNow;
var request = new TenureInformation()
{
StartOfTenureDate = now,
EndOfTenureDate = now.AddDays(-1)
StartOfTenureDate = _now,
EndOfTenureDate = _now.AddDays(-1)
};

var result = _classUnderTest.TestValidate(request);
Expand Down

0 comments on commit 8572744

Please sign in to comment.