wiki.techinc.nl/tests/phpunit/includes/changes
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
..
CategoryMembershipChangeTest.php Replace uses of Revision constants 2020-07-03 01:23:44 +00:00
EnhancedChangesListTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
OldChangesListTest.php phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
RCCacheEntryFactoryTest.php Remove constructors from test classes 2021-03-08 03:31:25 +00:00
RecentChangeTest.php Remove $actor field from UsererIdentityValue 2021-04-13 18:18:06 +00:00
TestRecentChangesHelper.php