Skip to content

Commit

Permalink
Fix StackedEntityResolver tests for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Jun 21, 2024
1 parent dc73a24 commit 203a0c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void resolveEntityStringStringRemoteDisallow() throws SAXException, IOExc
@Test
public void resolveEntityStringStringRemoteDisallowConstructor1Arg() throws SAXException, IOException {
try {
stackedResolver.resolveEntity("-//W3C//DTD SVG 1.1//EN",
stackedResolver.resolveEntity("-//W3C//DTD SVG 0.9//EN",
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd");
fail("Must throw exception");
} catch (SAXException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void resolveEntityStringStringRemoteDisallow() throws SAXException, IOExc
@Test
public void resolveEntityStringStringRemoteDisallowConstructor1Arg() throws SAXException, IOException {
try {
stackedResolver.resolveEntity("-//W3C//DTD SVG 1.1//EN",
stackedResolver.resolveEntity("-//W3C//DTD SVG 0.9//EN",
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd");
fail("Must throw exception");
} catch (SAXException e) {
Expand Down

0 comments on commit 203a0c9

Please sign in to comment.