This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit ac8b9bce6cad47956e28b14c3edffe38d1a0ac63 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Feb 17 12:18:01 2025 +0000 Correct class path URLs (no leading / in path) --- test/org/apache/catalina/core/TestPropertiesRoleMappingListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/org/apache/catalina/core/TestPropertiesRoleMappingListener.java b/test/org/apache/catalina/core/TestPropertiesRoleMappingListener.java index 821a0a6076..38b6054ea4 100644 --- a/test/org/apache/catalina/core/TestPropertiesRoleMappingListener.java +++ b/test/org/apache/catalina/core/TestPropertiesRoleMappingListener.java @@ -85,12 +85,12 @@ public class TestPropertiesRoleMappingListener extends TomcatBaseTest { @Test public void testFileFromClasspath() throws Exception { - doTest("classpath:/com/example/role-mapping.properties", null); + doTest("classpath:com/example/role-mapping.properties", null); } @Test public void testFileFromClasspathWithKeyPrefix() throws Exception { - doTest("classpath:/com/example/prefixed-role-mapping.properties", "app-roles."); + doTest("classpath:com/example/prefixed-role-mapping.properties", "app-roles."); } @Test --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org