MDL-61223 course: amend test setup to keep passing and covering case

This commit is contained in:
Eloy Lafuente (stronk7) 2018-04-02 12:00:54 +02:00
parent 7d4c1953d9
commit 2c28cadac1

View File

@ -36,7 +36,7 @@ class core_analytics_course_testcase extends advanced_testcase {
public function setUp() {
global $DB;
$this->course = $this->getDataGenerator()->create_course();
$this->course = $this->getDataGenerator()->create_course(['startdate' => 0]);
$this->stu1 = $this->getDataGenerator()->create_user();
$this->stu2 = $this->getDataGenerator()->create_user();
$this->both = $this->getDataGenerator()->create_user();