mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-42704 quiz statistics: make test more tolerant
This commit is contained in:
parent
379cbb459a
commit
f9dc4bd78b
@ -113,7 +113,7 @@ class quiz_report_statistics_from_steps extends mod_quiz_attempt_walkthrough_fro
|
||||
);
|
||||
|
||||
foreach ($quizstatsexpected as $statname => $statvalue) {
|
||||
$this->assertEquals($statvalue, $quizstats->$statname, $quizstats->$statname, abs($statvalue) * 1e-5);
|
||||
$this->assertEquals($statvalue, $quizstats->$statname, $quizstats->$statname, abs($statvalue) * 1.5e-5);
|
||||
}
|
||||
|
||||
for ($rowno = 0; $rowno < $csvdata['qstats']->getRowCount(); $rowno++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user