wiki.techinc.nl/tests/phpunit/integration/includes/block
Thiemo Kreuz 68ec2661d2 Use native array_column() in tests instead of loops
It's just a nice, lesser known convenience function. Exists since
PHP 5.5.

The changes to SerializationTestTrait ended being a little different.
Original I tried to use array_column() as well. But it drops the
array keys, which is relevant here.

We found that calling the two methods getTestInstances(AndAssertions)
multiple times is quite expensive and should be avoided. I changed
the code slightly so it's much less likely this is done unintentionally.

Change-Id: Ifaba3c370871a7c97b4d81ec21ff6ec134433fc0
2022-08-16 15:41:14 +02:00
..
BlockUserTest.php Add convenience methods for asserting status. 2022-03-16 22:44:25 +01:00
DatabaseBlockStoreTest.php block: Use $wgUpdateRowsPerQuery for purgeExpiredBlocks() 2022-03-04 22:40:53 +00:00
UnblockUserTest.php Use native array_column() in tests instead of loops 2022-08-16 15:41:14 +02:00