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 750c1ad commit 10e5b27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions auth/oidc/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);
}
}
1 change: 1 addition & 0 deletions mod/assign/submission/onenote/tests/events_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* @author Vinayak (Vin) Bhalerao ([email protected])
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright Microsoft Open Technologies, Inc. (based on files by NetSpot {@link http://www.netspot.com.au})
*/

defined('MOODLE_INTERNAL') || die();

Expand Down

0 comments on commit 10e5b27

Please sign in to comment.