mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 13:11:10 +00:00
Renames the unprocessable content status to unprocessable entity
This commit is contained in:
1 parent
5aa21c0c0a
commit
ffe79221fe
22 files changed
+31
-31
No files matched your search
+1
-1
@@ -169,7 +169,7 @@ public class SetupApplicationEndpointTests : IClassFixture<AuthenticatedLuminaAp
|
||||
HttpResponseMessage response = await _client.PostAsJsonAsync("/api/v1/initialization", request);
|
||||
|
||||
// Assert
|
||||
Assert.Equal(HttpStatusCode.UnprocessableContent, response.StatusCode);
|
||||
Assert.Equal(HttpStatusCode.UnprocessableEntity, response.StatusCode);
|
||||
string content = await response.Content.ReadAsStringAsync();
|
||||
|
||||
Dictionary<string, JsonElement>? problemDetails = JsonSerializer.Deserialize<Dictionary<string, JsonElement>>(content, _jsonOptions);
|
||||
|
||||
Reference in new issue
Block a user