Skip to content

Commit aadddd7

Browse files
Copilotbaywet
andauthored
test(models): update response serialization expectation
Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
1 parent 981e4ef commit aadddd7

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

test/Microsoft.OpenApi.Tests/Models/OpenApiResponseTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ public async Task SerializeBasicResponseWorks(
193193
string format)
194194
{
195195
// Arrange
196-
var expected = format == OpenApiConstants.Json ? @"{
197-
""description"": null
198-
}" : @"description: null";
196+
var expected = @"{ }";
199197

200198
// Act
201199
var actual = await BasicResponse.SerializeAsync(version, format, TestContext.Current.CancellationToken);

0 commit comments

Comments
 (0)