moodle/search/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-69906 admin: Display Setup search engine as link only if it is valid 2020-10-09 14:16:37 +02:00
fixtures MDL-68729 Search: Allow query on one server while indexing another 2020-08-06 12:12:01 +01:00
generator MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
area_category_test.php MDL-60913 search: add search area categories 2019-01-23 10:28:43 +11:00
base_activity_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
base_block_test.php MDL-62899 search: add document icons 2018-08-07 17:40:57 +10:00
base_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
document_icon_test.php MDL-62899 search: add document icons 2018-08-07 17:40:57 +10:00
document_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
engine_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
events_test.php MDL-55191 search: Generate an search result viewed event 2016-09-15 09:36:49 +08:00
external_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
manager_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
skip_future_documents_iterator_test.php MDL-60720 core_search: Indexing halts on failed get_document 2017-11-07 16:36:37 +00:00