moodle/contentbank/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
..
behat MDL-69269 contentbank: add support to download content 2020-08-28 12:28:13 +02:00
external MDL-69089 core_contentbank: Tests for empty content names 2020-08-17 15:54:36 +02:00
fixtures MDL-69143 contentbank: add import file method to content 2020-07-29 17:49:50 +02:00
generator MDL-67813 core_contentbank: Add content name parameter in the generator 2020-05-28 12:06:31 +08:00
content_test.php MDL-69270 contentbank: replace content with file 2020-08-26 12:36:27 +02:00
contentbank_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
contenttype_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
privacy_test.php MDL-68796 core_contentbank: Store view preferences 2020-05-27 17:27:23 +02:00