Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk authored May 19, 2024
1 parent 944efe9 commit 0e20972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/OneLogin/Saml2/AuthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ public function testProcessSLORequestSignedResponse()
$_GET['RelayState'] = 'http://relaystate.com';

$auth->setStrict(true);
$targetUrl = $this->_auth->processSLO(false, null, false, null, true);
$targetUrl = $auth->processSLO(false, null, false, null, true);

$parsedQuery = getParamsFromUrl($targetUrl);

Expand Down Expand Up @@ -1118,7 +1118,7 @@ public function testLoginSubject()
$returnTo = 'http://example.com/returnto';
$settingsInfo['sp']['NameIDFormat'] = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";
$auth2 = new Auth($settingsInfo);
$targetUrl3 = $auth2->login($returnTo, [], false, false, true, false, "[email protected]");
$targetUrl3 = $auth2->login($returnTo, [], false, false, true);
$parsedQuery3 = getParamsFromUrl($targetUrl3);

$ssoUrl3 = $settingsInfo['idp']['singleSignOnService']['url'];
Expand Down

0 comments on commit 0e20972

Please sign in to comment.