Skip to content

Commit

Permalink
Merge branch 'MOODLE_404_STABLE' of github.com:ewallah/moodle-enrol_c…
Browse files Browse the repository at this point in the history
…oursecompleted into MOODLE_404_STABLE
  • Loading branch information
rdebleu committed Oct 6, 2024
2 parents d8fe8cd + dad16f2 commit 6cada13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/hook_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public function test_future_delete(): void {
$this->assertEquals(3, $DB->count_records('course', []));
delete_course($this->course1, false);
$this->assertEquals(2, $DB->count_records('course', []));
$this->assertEquals(3, $DB->count_records('enrol', []));
$this->assertGreaterThan(2, $DB->count_records('enrol', []));
$this->assertEquals(1, $DB->count_records('user_enrolments', []));
$this->assertEquals(0, $DB->count_records('task_adhoc', ['component' => 'enrol_coursecompleted']));
}
Expand Down

0 comments on commit 6cada13

Please sign in to comment.