Merge branch 'MDL-65024-master' of git://github.com/jleyva/moodle
[moodle.git] / course / tests / externallib_test.php
index d504e7a..183a836 100644 (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;
             }
         }