MDL-30266 completionlib fix unit test breakage (regression)
authorsam marshall <s.marshall@open.ac.uk>
Tue, 15 Nov 2011 10:27:10 +0000 (10:27 +0000)
committersam marshall <s.marshall@open.ac.uk>
Tue, 15 Nov 2011 14:05:20 +0000 (14:05 +0000)
lib/simpletest/testcompletionlib.php

index f4288fd..c78063b 100644 (file)
@@ -527,7 +527,7 @@ WHERE
         $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 @@ WHERE
             ),$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();