Skip to content

Commit

Permalink
request.setMethod("POST")
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Winch committed Dec 21, 2015
1 parent 3a8aec0 commit 56fad16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public void testFailedAuthenticationThrowsException() {
@Test
public void noSessionIsCreatedIfAllowSessionCreationIsFalse() throws Exception {
MockHttpServletRequest request = new MockHttpServletRequest();
request.setMethod("POST");

UsernamePasswordAuthenticationFilter filter = new UsernamePasswordAuthenticationFilter();
filter.setAllowSessionCreation(false);
Expand Down

0 comments on commit 56fad16

Please sign in to comment.