moodle/question/engine/tests
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
..
datalib_reporting_queries_test.php MDL-66754 question engine: make $slots argument optional 2019-09-23 18:03:23 +01:00
datalib_test.php MDL-66685 questions: should able to save an empty question usage 2019-09-16 14:35:18 +01:00
helpers.php MDL-75757 phpunit: Add some tolerance to a few failing assertions 2022-09-18 15:55:36 +02:00
qubaid_condition_test.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
question_engine_test.php MDL-69624 question: add missing test required library. 2022-01-13 15:08:02 +00:00
questionattempt_db_test.php MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00
questionattempt_test.php MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 19:22:24 +01:00
questionattempt_with_steps_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
questionattemptiterator_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
questionattemptstep_db_test.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
questionattemptstep_test.php MDL-71030 Quiz: Add 'who' made changes in question response history 2021-04-20 09:06:15 +07:00
questionattemptstepiterator_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
questionbank_test.php MDL-66980 question bank: fix load_many_for_cache missing record check 2019-10-21 11:18:12 +01:00
questionstate_test.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
questionusage_autosave_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
questionusagebyactivity_data_test.php MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00
questionusagebyactivity_test.php MDL-71030 Quiz: Add 'who' made changes in question response history 2021-04-20 09:06:15 +07:00
questionutils_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
unitofwork_test.php MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
walkthrough_test.php MDL-73799 phpunit: various question & quiz testcase names 2022-03-03 12:22:36 +01:00