Skip to content

Commit

Permalink
Specify query string
Browse files Browse the repository at this point in the history
Issue gh-12665
  • Loading branch information
jzheaux committed Feb 14, 2023
1 parent e7d6596 commit 8ca726f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ public void getMatchingRequestWhenMatchesThenRemoved() {
cache.saveRequest(request, new MockHttpServletResponse());
assertThat(request.getSession().getAttribute(HttpSessionRequestCache.SAVED_REQUEST)).isNotNull();
MockHttpServletRequest requestToMatch = new MockHttpServletRequest();
requestToMatch.setQueryString("success");
requestToMatch.setParameter("success", "");
requestToMatch.setSession(request.getSession());
HttpServletRequest matchingRequest = cache.getMatchingRequest(requestToMatch, new MockHttpServletResponse());
Expand Down

0 comments on commit 8ca726f

Please sign in to comment.