moodle/competency/tests
Eloy Lafuente (stronk7) 40de097e65 MDL-67673 phpunit: Remove deprecated assertContains() uses on strings
Both assertContains() and assertNotContains() are deprecated in PHPUnit 8
for operations on strings. Also the optional case parameter is. All uses
must be changed to one of:

- assertStringContainsString()
- assertStringContainsStringIgnoringCase()
- assertStringNotContainsString()
- assertStringNotContainsStringIgnoringCase()

More info: https://github.com/sebastianbergmann/phpunit/issues/3422

Regexp to find all uses:

ag 'assert(Not)?Contains\('
2020-10-21 12:46:00 +02:00
..
generator MDL-64283 competency: Correct numbering in tests 2018-11-30 09:30:50 +08:00
api_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
competency_rule_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
competency_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
course_competency_settings_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
course_competency_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
course_module_competency_test.php MDL-65178 competencies: count_competencies fix 2019-03-26 09:47:09 +08:00
event_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
external_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
generator_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
hooks_test.php MDL-60126 competency: Unit tests 2020-02-04 08:36:21 +08:00
lib_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
performance_helper_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
plan_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
privacy_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
task_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
template_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00
user_evidence_competency_test.php MDL-57273 core: Remove magic setters and getters 2017-01-20 12:56:19 +08:00