mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
MDL-61223 course: amend test setup to keep passing and covering case
This commit is contained in:
parent
7d4c1953d9
commit
2c28cadac1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user