wiki.techinc.nl/tests/phpunit/unit/includes/content
Daimona Eaytoy 535d7abf59 phpunit: Mass-replace setMethods with onlyMethods and adjust
Ended up using
  grep -Prl '\->setMethods\(' . | xargs sed -r -i 's/setMethods\(/onlyMethods\(/g'

special-casing setMethods( null ) -> onlyMethods( [] )

and then manual fix of failing test (from PS2 onwards).

Bug: T278010
Change-Id: I012dca7ae774bb430c1c44d50991ba0b633353f1
2021-04-16 20:15:00 +02:00
..
ContentHandlerFactoryTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
FallbackContentHandlerTest.php Split FallbackContentHandlerTest into separate unit tests 2021-03-30 14:23:00 +00:00
FileContentHandlerTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
JsonContentHandlerTest.php Move trivially compatible tests to the unit tests suite 2019-06-30 15:23:53 +02:00
JsonContentTest.php Split JsonContentTest into separate unit tests 2021-03-16 00:29:32 +00:00
TextContentHandlerTest.php Make TextContentHandlerTest a pure unit test 2021-02-27 00:44:15 +00:00
WikitextContentHandlerTest.php Split WikitextContentHandlerTest into separate unit tests 2021-03-15 23:12:02 +00:00