Permalink
Browse files

MDL-30266 completionlib fix unit test breakage (regression)

  • Loading branch information...
1 parent 6be90ce commit 0c9cb1bc1997730bfcc48bd689c15fc9e0bbb7d6 @sammarshallou sammarshallou committed Nov 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/simpletest/testcompletionlib.php
@@ -527,7 +527,7 @@ function test_get_progress_all() {
$c->__construct((object)array('id'=>42));
// 1) Basic usage
- $c->expectAt(0,'get_tracked_users',array(false, array(), 0, '', '', ''));
+ $c->expectAt(0,'get_tracked_users',array(false, array(), 0, '', '', '', null));
$c->setReturnValueAt(0,'get_tracked_users',array(
(object)array('id'=>100,'firstname'=>'Woot','lastname'=>'Plugh'),
(object)array('id'=>201,'firstname'=>'Vroom','lastname'=>'Xyzzy'),
@@ -556,7 +556,7 @@ function test_get_progress_all() {
),$c->get_progress_all(false));
// 2) With more than 1,000 results
- $c->expectAt(1,'get_tracked_users',array(true, 3, 0, '', '', ''));
+ $c->expectAt(1,'get_tracked_users',array(true, 3, 0, '', '', '', null));
$tracked=array();
$ids=array();

0 comments on commit 0c9cb1b

Please sign in to comment.