Extra mock functionality for new unit tests.
This commit is contained in:
parent
3f6961d855
commit
369ea24215
|
@ -226,7 +226,7 @@ public class MockHttpServletRequest implements HttpServletRequest {
|
|||
}
|
||||
|
||||
public String getRemoteAddr() {
|
||||
throw new UnsupportedOperationException("mock method not implemented");
|
||||
return "127.0.0.1";
|
||||
}
|
||||
|
||||
public String getRemoteHost() {
|
||||
|
|
Loading…
Reference in New Issue