moodle/mod/book/tests
Eloy Lafuente (stronk7) ba5b6089d5 MDL-71036 phpunit: Renamed various regexp-related assertions
In PHPUnit 9.1, the following regexp-related assertions
have been deprecated and there are new alternatives for
all them:
    - assertRegExp()     -> assertMatchesRegularExpression()
    - assertNotRegExp()  -> assertDoesNotMatchRegularExpression()

This is about to, simply, move all cases to the new alternatives.

Source: https://github.com/sebastianbergmann/phpunit/blob/9.1.0/ChangeLog-9.1.md

Regexp to find all them:

    ag 'assertRegExp|assertNotRegExp' -li
2021-03-11 19:22:24 +01:00
..
behat MDL-67668 behat: Update tests for inplace editable field type 2020-11-23 09:01:19 +08:00
generator MDL-57457 mod_book: Implement tagging 2017-04-21 10:06:08 +08:00
events_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00
externallib_test.php MDL-54951 webservice: Return intro text files in modules 2016-07-04 09:24:28 +01:00
generator_test.php MDL-57457 mod_book: Implement tagging 2017-04-21 10:06:08 +08:00
lib_test.php MDL-71036 phpunit: Renamed various regexp-related assertions 2021-03-11 19:22:24 +01:00
search_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00