Skip to content

Commit

Permalink
Fix new test: Refit 5.2 does not use CamelCasing by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
cocytus committed Nov 26, 2020
1 parent 05da6b1 commit a39e4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Refit.Tests/RestService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ public async Task CanSerializeBigData()
async Task<bool> T()
{
using var s = await m.Content.ReadAsStreamAsync();
var it = await System.Text.Json.JsonSerializer.DeserializeAsync<BigObject>(s, new System.Text.Json.JsonSerializerOptions { PropertyNamingPolicy = System.Text.Json.JsonNamingPolicy.CamelCase });
var it = await System.Text.Json.JsonSerializer.DeserializeAsync<BigObject>(s);
return it.BigData.SequenceEqual(bigObject.BigData);
}
Expand Down

0 comments on commit a39e4ec

Please sign in to comment.