moodle/availability/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-59602 behat: make use of new course nav steps 2017-07-21 13:50:47 -07:00
fixtures MDL-67613 availability_completion: add previous activity condition 2020-05-06 10:56:47 +02:00
capability_checker_test.php
component_test.php MDL-51007 Availability: Unit test fails with extra plugins 2015-08-05 14:27:40 +01:00
info_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
tree_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00