removed LANG-dependent check #7444

This commit is contained in:
Your Name 2018-06-01 19:59:18 +03:00 committed by Hynek Mlnařík
parent 5a241392cf
commit 6052b1546d

View file

@ -708,7 +708,8 @@ public class SAMLParserTest {
@Test @Test
public void testInvalidEndElement() throws Exception { public void testInvalidEndElement() throws Exception {
thrown.expect(ParsingException.class); thrown.expect(ParsingException.class);
thrown.expectMessage(containsString("The element type \"NameIDFormat\" must be terminated by the matching end-tag \"</NameIDFormat>\".")); // see KEYCLOAK-7444
thrown.expectMessage(containsString("NameIDFormat"));
assertParsed("saml20-entity-descriptor-idp-invalid-end-element.xml", EntityDescriptorType.class); assertParsed("saml20-entity-descriptor-idp-invalid-end-element.xml", EntityDescriptorType.class);
} }