Permalink
Browse files

MDL-29262 simpletest: fix forgotten mock objects to avoid strict notices

  • Loading branch information...
1 parent 2211bba commit 030fc2d27c0e659b886a24bc4ceffd5af778a1b5 @stronk7 stronk7 committed Apr 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 backup/controller/simpletest/testcontroller.php
@@ -161,7 +161,7 @@ function test_backup_controller() {
*/
class mock_backup_controller extends backup_controller {
- public function save_controller() {
- parent::save_controller();
+ public function save_controller($includeobj = true, $cleanobj = false) {
+ parent::save_controller($includeobj, $cleanobj);
}
}

0 comments on commit 030fc2d

Please sign in to comment.