diff --git a/Refit.Tests/RestService.cs b/Refit.Tests/RestService.cs index 0c9a11166..4a324caca 100644 --- a/Refit.Tests/RestService.cs +++ b/Refit.Tests/RestService.cs @@ -1343,7 +1343,7 @@ public async Task CanSerializeBigData() async Task T() { using var s = await m.Content.ReadAsStreamAsync(); - var it = await System.Text.Json.JsonSerializer.DeserializeAsync(s, new System.Text.Json.JsonSerializerOptions { PropertyNamingPolicy = System.Text.Json.JsonNamingPolicy.CamelCase }); + var it = await System.Text.Json.JsonSerializer.DeserializeAsync(s); return it.BigData.SequenceEqual(bigObject.BigData); }