1
0
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:
Rui Tomé
2023-08-02 11:03:13 +01:00
committed by GitHub
parent 6e58936fa3
commit 4a110ad135
4 changed files with 6 additions and 0 deletions

View File

@ -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]