Merge branch 'MDL-66135' of https://github.com/paulholden/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 1 May 2020 14:07:56 +0000 (16:07 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 1 May 2020 14:07:56 +0000 (16:07 +0200)
admin/tool/uploadcourse/tests/course_test.php

index 0af3d93..7d811cb 100644 (file)
@@ -1112,7 +1112,7 @@ class tool_uploadcourse_course_testcase extends advanced_testcase {
 
         // Confirm presence of course custom fields.
         $data = \core_course\customfield\course_handler::create()->export_instance_data_object($course->id);
-        $this->assertEquals('Wednesday, 1 April 2020, 4:00 PM', $data->mydatefield);
+        $this->assertEquals('Wednesday, 1 April 2020, 4:00 PM', $data->mydatefield, '', 0.0, 10, false, true);
         $this->assertEquals($dataupload['customfield_mytextfield'], $data->mytextfield);
         $this->assertContains($dataupload['customfield_mytextareafield'], $data->mytextareafield);
     }