diff --git a/src/test/java/edu/illinois/library/cantaloupe/resource/MockHttpServletRequest.java b/src/test/java/edu/illinois/library/cantaloupe/resource/MockHttpServletRequest.java index 88e8ac5b0..1899295bf 100644 --- a/src/test/java/edu/illinois/library/cantaloupe/resource/MockHttpServletRequest.java +++ b/src/test/java/edu/illinois/library/cantaloupe/resource/MockHttpServletRequest.java @@ -33,6 +33,11 @@ public class MockHttpServletRequest implements HttpServletRequest { private String requestURL = "http://example.org/path"; private final Map> headers = new HashMap<>(); + @Override + public String getProtocolRequestId() { + return null; + } + @Override public boolean authenticate(HttpServletResponse httpServletResponse) { return false; @@ -49,7 +54,7 @@ public AsyncContext getAsyncContext() { } @Override - public Object getAttribute(String s) { + public Object getAttribute(String name) { return null; }