We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d6596 commit 8ca726fCopy full SHA for 8ca726f
web/src/test/java/org/springframework/security/web/savedrequest/HttpSessionRequestCacheTests.java
@@ -145,6 +145,7 @@ public void getMatchingRequestWhenMatchesThenRemoved() {
145
cache.saveRequest(request, new MockHttpServletResponse());
146
assertThat(request.getSession().getAttribute(HttpSessionRequestCache.SAVED_REQUEST)).isNotNull();
147
MockHttpServletRequest requestToMatch = new MockHttpServletRequest();
148
+ requestToMatch.setQueryString("success");
149
requestToMatch.setParameter("success", "");
150
requestToMatch.setSession(request.getSession());
151
HttpServletRequest matchingRequest = cache.getMatchingRequest(requestToMatch, new MockHttpServletResponse());
0 commit comments