This is an automated email from the ASF dual-hosted git repository.
pedrosans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push:
new 7f9297290a Removing duplicated test
7f9297290a is described below
commit 7f9297290a9c1fa77495ef8b5bd92b4573aa1d48
Author: Pedro Santos <[email protected]>
AuthorDate: Sat May 9 15:30:23 2026 -0300
Removing duplicated test
---
.../org/apache/wicket/markup/html/link/ExternalLinkTest.java | 11 -----------
1 file changed, 11 deletions(-)
diff --git
a/wicket-core-tests/src/test/java/org/apache/wicket/markup/html/link/ExternalLinkTest.java
b/wicket-core-tests/src/test/java/org/apache/wicket/markup/html/link/ExternalLinkTest.java
index e28f607f67..16124e6580 100644
---
a/wicket-core-tests/src/test/java/org/apache/wicket/markup/html/link/ExternalLinkTest.java
+++
b/wicket-core-tests/src/test/java/org/apache/wicket/markup/html/link/ExternalLinkTest.java
@@ -75,17 +75,6 @@ class ExternalLinkTest extends WicketTestCase
assertThat(tester.getLastResponseAsString()).contains(uri);
}
- @Test
- void escapeJavascriptQuotes() throws Exception
- {
- String uri = "javascript:alert('foo')";
- MockPageWithOneComponent page = new MockPageWithOneComponent();
- page.add(new ExternalLink(COMPONENT_ID, uri));
-
- tester.startPage(page);
-
-
assertThat(tester.getLastResponseAsString()).contains(JavaScriptUtils.escapeQuotes(uri));
- }
/**
* @throws Exception