moodle/question/tests
Eloy Lafuente (stronk7) 3a5641cb74 MDL-67673 phpunit: Remove deprecated assertEquals() params
The optional parameters of assertEquals() and assertNotEquals()
are deprecated in PHPUnit 8 (to be removed in PHPUnit 9):

- delta => use assertEqualsWithDelta()
- canonicalize => use assertEqualsCanonicalizing()
- ignoreCase => use assertEqualsIgnoringCase
- maxDepth => removed without replacement.

More info @ https://github.com/sebastianbergmann/phpunit/issues/3341

Initial search done with:

ag 'assert(Not)?Equals\(.*,.*,' --php

Then, running tests and fixing remaining cases.
2020-10-21 12:46:00 +02:00
..
behat MDL-68252 question tags: fix tag editing for missingtype questions 2020-04-24 11:26:12 +01:00
fixtures MDL-62814 Question: Improve column base display_header 2018-07-06 10:56:34 +07:00
generator MDL-47178 question: Retain question authors when restoring backups. 2020-10-06 09:29:18 +11:00
backup_test.php MDL-47178 question: Retain question authors when restoring backups. 2020-10-06 09:29:18 +11:00
bank_view_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
calculated_question_summary_test.php MDL-62610 mod_quiz: fix CiBoT issues 2018-10-01 08:27:28 +08:00
category_class_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
events_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
externallib_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
generator_test.php MDL-62708 question: Add idnumbers to question and question category 2018-09-21 12:26:24 +01:00
importexport_test.php
least_used_variant_strategy_test.php MDL-6340 quiz: avoid reusing random questions between attempts 2015-03-26 17:45:49 +00:00
privacy_helper.php MDL-67183 questions: get_question & get_behaviour only init if required 2020-05-19 20:52:07 +01:00
privacy_provider_test.php MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:00 +02:00
question_bank_column_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
random_question_loader_test.php MDL-61138 question: external function to get random question set 2018-04-19 13:51:40 +08:00