Explorar el Código

Ad mock method implementation now we're using HttpSession.removeAttribute().

Ben Alex hace 21 años
padre
commit
fde59c2f29
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core/src/test/java/org/acegisecurity/MockHttpSession.java

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

@@ -99,7 +99,7 @@ public class MockHttpSession implements HttpSession {
     }
 
     public void removeAttribute(String arg0) {
-        throw new UnsupportedOperationException("mock method not implemented");
+        map.remove(arg0);
     }
 
     public void removeValue(String arg0) {