Merge branch 'MDL-65024-master' of git://github.com/jleyva/moodle

This commit is contained in:
Adrian Greeve 2019-04-05 09:09:16 +08:00
commit cc56e409c3
2 changed files with 5 additions and 1 deletions

View file

@ -958,6 +958,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
foreach ($sections[2]['modules'] as $module) {
if ($module['id'] == $urlcm->id and $module['modname'] == 'url') {
$this->assertContains('width=100,height=100', $module['onclick']);
$this->assertContains('moodle.org', $module['customdata']);
$testexecuted = $testexecuted + 1;
}
}