File tree Expand file tree Collapse file tree
toolkit/src/test/java/com/onelogin/saml2/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ public void testProcessSLORequestSignRes() throws Exception {
544544 assertFalse (auth .isAuthenticated ());
545545 assertTrue (auth .getErrors ().isEmpty ());
546546 auth .processSLO ();
547- verify (response ).sendRedirect (matches ("http:\\ /\\ /idp.example.com\\ /simplesaml\\ /saml2\\ /idp\\ /SingleLogoutService .php\\ ?SAMLResponse=(.)*&RelayState=http%3A%2F%2Flocalhost%3A8080%2Fexpected.jsp&SigAlg=http%3A%2F%2Fwww.w3.org%2F2001%2F04%2Fxmldsig-more%23rsa-sha512&Signature=(.)*" ));
547+ verify (response ).sendRedirect (matches ("http:\\ /\\ /idp.example.com\\ /simplesaml\\ /saml2\\ /idp\\ /SingleLogoutServiceResponse .php\\ ?SAMLResponse=(.)*&RelayState=http%3A%2F%2Flocalhost%3A8080%2Fexpected.jsp&SigAlg=http%3A%2F%2Fwww.w3.org%2F2001%2F04%2Fxmldsig-more%23rsa-sha512&Signature=(.)*" ));
548548 verify (session , times (1 )).invalidate ();
549549 assertTrue (auth .getErrors ().isEmpty ());
550550 }
You can’t perform that action at this time.
0 commit comments