Skip to content

Commit 15facbf

Browse files
committed
Fix CS
1 parent a9501ff commit 15facbf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/OpenApiKiotaEndToEndTests/ModelStateValidation/ModelStateValidationTests.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,10 @@ public async Task Cannot_use_invalid_TimeSpan()
452452

453453
ErrorObject errorObject = document.Errors.First();
454454
errorObject.Title.Should().Be("Failed to deserialize request body: Incompatible attribute value found.");
455-
errorObject.Detail.Should().Be("Failed to convert attribute 'nextRevalidation' with value 'not a TimeSpan' of type 'String' to type 'Nullable<TimeSpan>'.");
455+
456+
errorObject.Detail.Should()
457+
.Be("Failed to convert attribute 'nextRevalidation' with value 'not a TimeSpan' of type 'String' to type 'Nullable<TimeSpan>'.");
458+
456459
errorObject.Source.ShouldNotBeNull();
457460
errorObject.Source.Pointer.Should().Be("/data/attributes/nextRevalidation");
458461
}

0 commit comments

Comments
 (0)