Skip to content

Commit

Permalink
Fix some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander van Delft committed Apr 11, 2024
1 parent 8cca402 commit ac2ad92
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ public void VerifyTimeOfDayParameterTypeValidationAndCleanup()
{
Assert.That(result.ResultKind, Is.EqualTo(ValidationResultKind.Valid));
Assert.That(this.valueSet.Manual[0], Is.EqualTo("14:00:12"));
Assert.That(this.valueSet.Computed[0], Is.EqualTo("14:00:12Z"));
Assert.That(this.valueSet.Reference[0], Is.EqualTo("17:49:30.453Z"));
Assert.That(this.valueSet.Computed[0], Is.EqualTo("14:00:12"));
Assert.That(this.valueSet.Reference[0], Is.EqualTo("17:49:30"));
});

this.valueSet.Computed[0] = "0001-01-01T14:00:12.0000000";
Expand All @@ -453,7 +453,7 @@ public void VerifyTimeOfDayParameterTypeValidationAndCleanup()
Assert.Multiple(() =>
{
Assert.That(result.ResultKind, Is.EqualTo(ValidationResultKind.Valid));
Assert.That(cleanedValue, Is.EqualTo("12:45:35Z"));
Assert.That(cleanedValue, Is.EqualTo("12:45:35"));
});

result = this.timeOfDayParameterType.Validate(new DateTime(2001, 1, 1, 12, 45, 35, DateTimeKind.Utc), out _);
Expand Down

0 comments on commit ac2ad92

Please sign in to comment.