Skip to content

Commit

Permalink
Fix broken unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherSchultz committed Jan 11, 2024
1 parent 67ac21c commit 5e1e5b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class TestCsrfPreventionFilter extends TomcatBaseTest {
private static final String RESULT_NONCE = Constants.CSRF_NONCE_SESSION_ATTR_NAME + "=TESTNONCE";

private final HttpServletResponse wrapper = new CsrfPreventionFilter.CsrfResponseWrapper(new NonEncodingResponse(),
Constants.CSRF_NONCE_SESSION_ATTR_NAME, "TESTNONCE");
Constants.CSRF_NONCE_SESSION_ATTR_NAME, "TESTNONCE", null);

@Test
public void testAddNonceNoQueryNoAnchor() throws Exception {
Expand Down

0 comments on commit 5e1e5b2

Please sign in to comment.