summaryrefslogtreecommitdiffstats
path: root/container-core
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-10-04 17:20:40 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2021-10-05 14:49:20 +0200
commitc9982ddc5ce3083101541a301cca20b19b4914e8 (patch)
treef63fa1165e4b8572a7dd7c24ed056e851b97660d /container-core
parent5f5cb7aa87195c92b374dcbc742a5263559c8bb0 (diff)
Add option to attach a context to refer.
Introduce a lightweight debug mode.
Diffstat (limited to 'container-core')
-rw-r--r--container-core/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/container-core/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java b/container-core/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
index 43fc67cfabe..8cd19339d34 100644
--- a/container-core/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
+++ b/container-core/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
@@ -202,6 +202,7 @@ public class HttpRequestTestCase {
private static CurrentContainer mockContainer() {
final CurrentContainer currentContainer = mock(CurrentContainer.class);
when(currentContainer.newReference(any(URI.class))).thenReturn(mock(Container.class));
+ when(currentContainer.newReference(any(URI.class), any(Object.class))).thenReturn(mock(Container.class));
return currentContainer;
}
}