mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
[AC-1438] Updated SCIM controllers to respond with "content-Type: application/scim+json" (#3072)
This commit is contained in:
@ -55,6 +55,8 @@ public class UsersControllerTests : IClassFixture<ScimApplicationFactory>, IAsyn
|
||||
|
||||
var responseModel = JsonSerializer.Deserialize<ScimUserResponseModel>(context.Response.Body, new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase });
|
||||
AssertHelper.AssertPropertyEqual(expectedResponse, responseModel);
|
||||
|
||||
Assert.Contains("application/scim+json", context.Response.Headers.ContentType.ToString());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
Reference in New Issue
Block a user