Explorar o código

Extra mock functionality for new unit tests.

Ben Alex %!s(int64=21) %!d(string=hai) anos
pai
achega
369ea24215

+ 1 - 1
core/src/test/java/org/acegisecurity/MockHttpServletRequest.java

@@ -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() {