mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-60174-master' of https://github.com/sammarshallou/moodle
This commit is contained in:
commit
bdb157653b
30 changed files with 653 additions and 44 deletions
|
@ -306,6 +306,7 @@ class mod_quiz_attempt_overdue_testcase extends advanced_testcase {
|
|||
$count++;
|
||||
|
||||
}
|
||||
$attempts->close();
|
||||
$this->assertEquals($DB->count_records_select('quiz_attempts', 'timecheckstate IS NOT NULL'), $count);
|
||||
|
||||
$attempts = $overduehander->get_list_of_overdue_attempts(0); // before all attempts
|
||||
|
@ -313,6 +314,7 @@ class mod_quiz_attempt_overdue_testcase extends advanced_testcase {
|
|||
foreach ($attempts as $attempt) {
|
||||
$count++;
|
||||
}
|
||||
$attempts->close();
|
||||
$this->assertEquals(0, $count);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue