mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-51371 course: fix core_course_get_course_module assertion
A recent bugfix before integration left this failing. They are 22.
This commit is contained in:
parent
f95452b84f
commit
e99b197e97
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
|||
|
||||
$this->assertCount(0, $result['warnings']);
|
||||
// Test we retrieve all the fields.
|
||||
$this->assertCount(21, $result['cm']);
|
||||
$this->assertCount(22, $result['cm']);
|
||||
$this->assertEquals($record['name'], $result['cm']['name']);
|
||||
$this->assertEquals($options['idnumber'], $result['cm']['idnumber']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue