Skip to content

Commit

Permalink
Fix: Language-Dependent Test #1213
Browse files Browse the repository at this point in the history
Signed-off-by: Ezio Caffi <ezio.caffi@gmail.com>
  • Loading branch information
e210 committed Oct 16, 2024
1 parent 041e5af commit 8167f51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public void testXmlParserConfiguration() throws Exception {

fail("Expected parser configuration to block DOCTYPE. The following was injected into the job description field: " + description);
} catch (SAXParseException e) {
assertTrue(e.getMessage().contains("DOCTYPE is disallowed"));
assertTrue(e.getMessage().toLowerCase().contains("doctype"));
} finally {
if (scheduler != null)
scheduler.shutdown();
Expand Down

0 comments on commit 8167f51

Please sign in to comment.