moodle/h5p/tests
Eloy Lafuente (stronk7) 35bc26b516 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:05 +02:00
..
behat MDL-67062 core_h5p: behat fix for delete library test 2020-02-27 12:32:21 +01:00
fixtures MDL-68902 core_h5p: add essay h5p package 2020-06-09 16:58:17 +02:00
generator MDL-69520 core_h5p: unit tests for covering example and tutorial 2020-10-14 18:35:52 +02:00
local/library MDL-68227 core_h5p: localize H5P editor strings 2020-05-12 16:39:42 +02:00
api_test.php MDL-68448 core_h5p: Add get export information to helper 2020-05-25 09:12:06 +02:00
coverage.php MDL-66609 core_h5p: Unit test coverage 2019-10-29 10:22:43 +08:00
editor_ajax_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
editor_framework_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
editor_test.php MDL-68909 h5p: move temporary editor files to draft area 2020-09-17 09:16:51 +02:00
event_h5p_deleted_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
event_h5p_viewed_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
external_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
framework_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
generator_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
h5p_core_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:46:04 +02:00
h5p_file_storage_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
helper_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00