Merge branch '5.6.x' into 5.7.x

This commit is contained in:
Marcus Da Coregio 2022-11-16 14:51:07 -03:00
commit 2d19d972f4
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public class Saml2MetadataFilterTests {
this.filter.setMetadataFilename(testMetadataFilename);
this.filter.doFilter(this.request, this.response, this.chain);
assertThat(this.response.getCharacterEncoding()).isEqualTo(StandardCharsets.UTF_8.name());
assertThat(new String(this.response.getContentAsByteArray())).isEqualTo(generatedMetadata);
assertThat(this.response.getContentAsString(StandardCharsets.UTF_8)).isEqualTo(generatedMetadata);
}
@Test