You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/11/26 21:12:00 UTC
[tomcat] branch 9.0.x updated: Fix test broken by BZ 56181
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 2232ca8 Fix test broken by BZ 56181
2232ca8 is described below
commit 2232ca8569174d1a3f0d850d3e66be7d388b2f2a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Nov 26 21:10:54 2020 +0000
Fix test broken by BZ 56181
---
test/org/apache/catalina/valves/TestRemoteIpValve.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/valves/TestRemoteIpValve.java b/test/org/apache/catalina/valves/TestRemoteIpValve.java
index a792552..1c7b24a 100644
--- a/test/org/apache/catalina/valves/TestRemoteIpValve.java
+++ b/test/org/apache/catalina/valves/TestRemoteIpValve.java
@@ -28,6 +28,7 @@ import org.junit.Test;
import org.apache.catalina.AccessLog;
import org.apache.catalina.Globals;
+import org.apache.catalina.connector.Connector;
import org.apache.catalina.connector.Request;
import org.apache.catalina.connector.Response;
@@ -94,7 +95,7 @@ public class TestRemoteIpValve {
public static class MockRequest extends Request {
public MockRequest() {
- super(null);
+ super(new Connector());
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org