Skip to content

Commit

Permalink
Correct incorrect date format check
Browse files Browse the repository at this point in the history
  • Loading branch information
dashton82 committed Apr 17, 2020
1 parent 8f0f38b commit f1dba68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void Then_Maps_DateOfBirth(GetApprenticeshipsResponse.ApprenticeshipDetai
{
ApprenticeshipDetailsCsvModel result = source;

result.DateOfBirth.Should().Be(source.DateOfBirth.ToString("dd MMM yyyy"));
result.DateOfBirth.Should().Be(source.DateOfBirth.ToString("d MMM yyyy"));
}

[Test, AutoData]
Expand Down

0 comments on commit f1dba68

Please sign in to comment.