wiki.techinc.nl/tests/phpunit/includes/cache
Func 7f74a2e50c Clean up tests that misused the parameters of assertSame/Equals
Expected value is the first parameter to assertSame() or assertEquals().
And turn to use assertCount() for some assertions aginst count of array.

Based on code search `assert(?:Same|Equals)\(.+,.+expected` and I look
through files roughly, so some assertions that don't contains 'expected'
are also fixed. In the meantime, some assertions that I am not clear
about are not touched.

Change-Id: I75798b60d29fd19b33f4fdf34ed3c788db420d01
2022-02-08 07:21:10 +00:00
..
BacklinkCacheTest.php Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
GenderCacheTest.php Clean up tests that misused the parameters of assertSame/Equals 2022-02-08 07:21:10 +00:00
LinkBatchTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00
LinkCacheTest.php cache: Add four fields to LinkCache::getSelectFields 2021-12-14 15:10:49 +01:00
LinkCacheTestTrait.php LinkCache: soft deprecate addGoodLinkObj() 2021-09-10 16:00:02 +02:00
LocalisationCacheTest.php Replace PHPUnit ->returnValue() with ->willReturn() shortcut 2021-04-22 10:37:45 +02:00
MessageCacheTest.php phpunit: use ->getServiceContainer() in integration tests 2022-01-27 22:04:16 +01:00