소스 검색

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

Ben Alex 21 년 전
부모
커밋
fde59c2f29
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {