Selaa lähdekoodia

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

Ben Alex 21 vuotta sitten
vanhempi
commit
fde59c2f29
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) {