wiki.techinc.nl/tests/phpunit/unit/includes/GlobalFunctions
Daimona Eaytoy ee672592d8 tests: Replace assertRegExp with assertMatchesRegularExpression
And also assertNotRegExp -> assertDoesNotMatchRegularExpression. The
methods were renamed in PHPUnit 9.

Done automatically with:
  grep -rl assertRegExp tests/ | xargs sed -r -i "s/>assertRegExp\(/>assertMatchesRegularExpression\(/"
  grep -rl assertNotRegExp tests/ | xargs sed -r -i "s/>assertNotRegExp\(/>assertDoesNotMatchRegularExpression\(/"

Split out from Ifdba0f9e98eb6bce4590b7eb73170c51a697d7c6 so that it
remains smaller and easier to review.

Also make a test use MediaWikiUnitTestCase (it's already in the unit/
dir) so that it can access the forward-compat method.

Bug: T243600
Change-Id: Ifa279d5f201d7abeebece292141ebface8278046
2022-10-07 14:13:16 -04:00
..
wfAppendQueryTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
wfArrayPlus2dTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
wfAssembleUrlTest.php Fix silently skipped UrlUtilsTest 2022-05-16 14:01:22 +10:00
wfBaseNameTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
wfEscapeShellArgTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
wfGetCallerTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
wfRemoveDotSegmentsTest.php Fix silently skipped UrlUtilsTest 2022-05-16 14:01:22 +10:00
wfShorthandToIntegerTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
wfStringToBoolTest.php Load GlobalFunctions.php to tests/phpunit/bootstrap.php 2019-07-14 01:28:07 +02:00
wfTimestampTest.php tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-07 14:13:16 -04:00
wfUrlencodeTest.php mediawiki.util: Add parentheses to wfUrlencode test cases 2022-08-05 16:30:38 -07:00