Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganesh Subramanian committed Nov 15, 2014
1 parent 67d19bf commit 703841d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -313,7 +313,7 @@ public void shouldRedirectIfClientNameIsSet() throws RequiresHttpAction {
filter.filter(context);
verify(basicClient).redirect(webContext, false, false);
verify(webContext, atLeast(1)).setResponseHeader(eq(HttpHeaders.LOCATION), any(String.class));
verify(webContext).setResponseHeader(HttpHeaders.SET_COOKIE, new NewCookie(AuthenticationFilter.AUTH_COOKIE, session.getId()).toString());
verify(webContext).setResponseHeader(HttpHeaders.SET_COOKIE, new NewCookie(AuthenticationFilter.AUTH_COOKIE, session.getId(), "/", null, null, NewCookie.DEFAULT_MAX_AGE, false).toString());
verify(context).abortWith(response);
}
}

0 comments on commit 703841d

Please sign in to comment.