Inline trivial object creation helpers in tests
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 28 May 2019 14:11:30 +0000 (16:11 +0200)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Tue, 28 May 2019 14:12:28 +0000 (16:12 +0200)
commit2bb43d0571d7ded55a57a73f1d0bb1d0e9dabedc
tree9954c54b477c1a59b484d334db88330783a6f214
parentf4de088e6322d969b88edeb1c417549849c3803d
Inline trivial object creation helpers in tests

I would like to argue that these named helper functions don't make the
code easier to read. It reads the same as before, just with less code.

Change-Id: I375e970b00ac126a47d5f1b49d4e45ff9f9309fb
tests/phpunit/includes/ActorMigrationTest.php
tests/phpunit/includes/TitleArrayFromResultTest.php
tests/phpunit/includes/import/ImportTest.php
tests/phpunit/includes/user/UserArrayFromResultTest.php