MDL-32386 completion: Fix incorrect method parameters

This commit is contained in:
Aaron Barnes 2012-07-20 13:40:42 +12:00
parent d71c486507
commit 1caeb4b450
2 changed files with 6 additions and 2 deletions

View file

@ -257,7 +257,7 @@ class completionlib_testcase extends basic_testcase {
->will($this->returnValue(true));
$c->expects($this->at(1))
->method('get_data')
->with($cm, 1337)
->with($cm, false, 1337)
->will($this->returnValue((object)array('viewed'=>COMPLETION_NOT_VIEWED)));
$c->expects($this->at(2))
->method('internal_set_data')