moodle/analytics/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-68750 analytics: Correct behat test modal checks 2020-05-26 12:55:29 +08:00
fixtures MDL-67217 unittest: usleep and windows don't get along well 2019-11-22 07:41:07 +08:00
analysis_test.php MDL-65680 analytics: Fix random failure on slow test environments 2019-05-24 10:59:13 +02:00
calculation_info_test.php MDL-66536 analytics: Indicators can add extra data for targets 2019-09-18 13:07:21 +08:00
community_of_inquiry_activities_completed_by.php MDL-59256 analytics: Move get_activities test scope 2017-11-03 12:42:20 +01:00
course_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
dataset_manager_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
indicator_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
manager_test.php MDL-64739 analytics: Contexts autocomplete with ajax 2019-10-21 15:33:29 +08:00
model_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
prediction_actions_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
prediction_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
privacy_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
stats_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00