Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed Oct 5, 2024
1 parent 8866373 commit dad16f2
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 dad16f2

Please sign in to comment.