Fix Tests

These tests passed, but were technically incorrect. The
invalid tests were noticed when fixing gh-229.

Issue: gh-229
This commit is contained in:
Rob Winch
2015-07-27 17:10:16 -05:00
parent f6c1407259
commit 8929e85fb1

View File

@@ -173,6 +173,7 @@ public class SessionRepositoryFilterTests {
});
final String id = (String) request.getAttribute(ID_ATTR);
setupRequest();
doFilter(new DoInFilter() {
@Override
@@ -1076,6 +1077,7 @@ public class SessionRepositoryFilterTests {
HttpServletRequest request = (HttpServletRequest) chain.getRequest();
String id = request.getSession().getId();
when(strategy.getRequestedSessionId(any(HttpServletRequest.class))).thenReturn(id);
setupRequest();
doFilter(new DoInFilter(){
@Override