moodle/user/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-66648 user: consistent checks for linking to full profile. 2020-09-14 20:22:07 +01:00
fixtures MDL-59847 core: Fix display of hidden identity fields in user selectors 2018-08-02 10:22:05 +08:00
table MDL-69026 user: Correct statuses => status in test 2020-06-12 10:03:06 +08:00
editlib_test.php MDL-40612 libraries: Unit test expansion for get_all_user_name_fields() 2013-11-11 10:52:24 +08:00
externallib_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
group_non_members_selector_test.php MDL-64258 Group: Unit Test for find_users function 2019-07-03 15:08:49 +07:00
myprofile_test.php MDL-67673 phpunit: Remove expectedException annotations 2020-10-21 12:46:00 +02:00
privacy_test.php MDL-68333 testing: trigger user_created event in user generator 2020-05-19 19:11:54 +02:00
profilelib_test.php MDL-68333 testing: trigger user_created event in user generator 2020-05-19 19:11:54 +02:00
search_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
userlib_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
userroleseditable_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
userselector_test.php MDL-59847 core: Stop supporting custom identity fields in user selectors 2018-08-02 10:22:07 +08:00