moodle/question/engine
Eloy Lafuente (stronk7) 6be384ee8f MDL-75757 phpunit: Add some tolerance to a few failing assertions
Recently, PHPUnit (all versions) did some changes about how the
comparators worked and this has caused some float comparisons
to stop working.

We need to move them to assertEqualsWithDelta(), allowing a small
tolerance to workaround the floats comparison problem.

0.00001 has been decided. And applied to all the similar assertions
within the unittest function, so if more cases are added to them
better be copied with the agreed tolerance.
2022-09-18 15:55:36 +02:00
..
tests MDL-75757 phpunit: Add some tolerance to a few failing assertions 2022-09-18 15:55:36 +02:00
upgrade MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
bank.php MDL-73376 qbank_comment: Version selection in modal 2022-09-01 11:43:55 +10:00
datalib.php MDL-72890 core_question : Question regrade for question versions 2022-03-04 23:06:50 +11:00
lib.php MDL-71305 core_question: Use toggle button for flag question element 2022-03-08 13:45:18 +11:00
questionattempt.php MDL-74752 question regrading: implement the required hooks 2022-05-31 09:22:22 +01:00
questionattemptstep.php MDL-71030 Quiz: Add 'who' made changes in question response history 2021-04-20 09:06:15 +07:00
questionusage.php MDL-74752 question regrading: implement the required hooks 2022-05-31 09:22:22 +01:00
renderer.php MDL-71305 core_question: Use toggle button for flag question element 2022-03-08 13:45:18 +11:00
states.php MDL-66754 question engine: fix lots of PHPdoc errors 2019-09-24 10:25:29 +01:00
upgrade.txt MDL-73778 mod_quiz: Oracle Manual grading scenario 2022-02-22 11:34:37 +11:00