This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 9c2cb75c79 Fix test
9c2cb75c79 is described below
commit 9c2cb75c79cbb7f08aab0b38bd1f367bdd19c23e
Author: remm <[email protected]>
AuthorDate: Tue Oct 1 15:58:42 2024 +0200
Fix test
---
test/org/apache/catalina/manager/TestHostManagerWebapp.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/org/apache/catalina/manager/TestHostManagerWebapp.java
b/test/org/apache/catalina/manager/TestHostManagerWebapp.java
index 85b3c18c27..4c26c9e1a4 100644
--- a/test/org/apache/catalina/manager/TestHostManagerWebapp.java
+++ b/test/org/apache/catalina/manager/TestHostManagerWebapp.java
@@ -43,6 +43,7 @@ public class TestHostManagerWebapp extends TomcatBaseTest {
@Test
public void testServlet() throws Exception {
Tomcat tomcat = getTomcatInstance();
+ tomcat.setAddDefaultWebXmlToWebapp(false);
tomcat.getServer().addLifecycleListener(new
StoreConfigLifecycleListener());
File configFile = new File(getTemporaryDirectory(),
"tomcat-users-host-manager.xml");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]