Skip to content

Commit

Permalink
MSFTMPP-125: Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcq committed Mar 10, 2015
1 parent d0d4839 commit 16ad594
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions classes/tests/mockoidcclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ class mockoidcclient extends \auth_oidc\oidcclient {
/**
* Stub method to access protected parent method.
*/
public function getnewstate($nonce) {
return parent::getnewstate($nonce);
public function getnewstate($nonce, array $stateparams = array()) {
return parent::getnewstate($nonce, $stateparams);
}

/**
* Stub method to access protected parent method.
*/
public function getauthrequestparams() {
return parent::getauthrequestparams();
public function getauthrequestparams($promptlogin = false, array $stateparams = array()) {
return parent::getauthrequestparams($promptlogin, $stateparams);
}
}

0 comments on commit 16ad594

Please sign in to comment.