mattporritt / moodle-search_elastic

An Elasticsearch engine plugin for Moodle's Global Search
https://moodle.org/plugins/search_elastic
GNU General Public License v3.0
16 stars 13 forks source link

Fix mutiple assertRegExp is deprecated and will be removed in PHPUnit 10 #71

Closed dmitriim closed 1 year ago

dmitriim commented 3 years ago

9) search_elastic_esrequest_testcase::test_signed_get
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

10) search_elastic_esrequest_testcase::test_signed_put
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

11) search_elastic_esrequest_testcase::test_signed_post
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

12) search_elastic_esrequest_testcase::test_signed_delete
assertRegExp() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertMatchesRegularExpression() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80