wiki.techinc.nl/tests/phpunit/includes/api/format
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
..
ApiFormatBaseTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
ApiFormatJsonTest.php Don't silently fail if API result fails to encode 2018-12-05 13:28:33 -05:00
ApiFormatNoneTest.php
ApiFormatPhpTest.php Convert OutputHandler functions to a class 2018-03-20 21:11:32 -07:00
ApiFormatRawTest.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
ApiFormatTestBase.php Expose portlet data in SkinMustache 2020-09-22 14:06:29 -07:00
ApiFormatXmlTest.php Backwards-compatible PHPUnit 8 preparations 2019-11-02 12:40:07 -07:00