mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14: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
+2
-2
@@ -156,7 +156,7 @@ public class InstallPluginEndpointTests : IClassFixture<AuthenticatedLuminaApiFa
|
||||
HttpResponseMessage response = await _client.PostAsync("/api/v1/plugins", multipartContent);
|
||||
|
||||
// Assert
|
||||
Assert.Equal(HttpStatusCode.UnprocessableContent, response.StatusCode);
|
||||
Assert.Equal(HttpStatusCode.UnprocessableEntity, response.StatusCode);
|
||||
Assert.Equal("application/problem+json", response.Content.Headers.ContentType?.MediaType);
|
||||
string content = await response.Content.ReadAsStringAsync();
|
||||
|
||||
@@ -184,7 +184,7 @@ public class InstallPluginEndpointTests : IClassFixture<AuthenticatedLuminaApiFa
|
||||
HttpResponseMessage response = await _client.PostAsync("/api/v1/plugins", multipartContent);
|
||||
|
||||
// Assert
|
||||
Assert.Equal(HttpStatusCode.UnprocessableContent, response.StatusCode);
|
||||
Assert.Equal(HttpStatusCode.UnprocessableEntity, response.StatusCode);
|
||||
Assert.Equal("application/problem+json", response.Content.Headers.ContentType?.MediaType);
|
||||
string content = await response.Content.ReadAsStringAsync();
|
||||
|
||||
|
||||
Reference in new issue
Block a user