Skip to content

Commit ef41a22

Browse files
committed
Fixed one unit test (closed #16)
1 parent 6181927 commit ef41a22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MyWebApi.Tests/BuildersTests/ResponseModelsTests/ResponseModelErrorDetailsTestBuilderTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public void ThatEqualsShouldNotThrowExceptionWhenProvidedMessageIsValid()
2424
.ContainingModelStateError("RequiredString")
2525
.ContainingModelStateErrorFor(m => m.Integer).ThatEquals(string.Format("The field Integer must be between {0} and {1}.", 1, int.MaxValue))
2626
.ContainingModelStateError("RequiredString")
27-
.ContainingModelStateError("Integer");
27+
.ContainingModelStateError("Integer")
28+
.ContainingNoModelStateErrorFor(m => m.NotValidateInteger);
2829
}
2930

3031
[Test]

0 commit comments

Comments
 (0)