wiki.techinc.nl/tests/phpunit/includes/cache
Derick Alangi 03b4f7e1ee
BacklinkCacheTest: Fix test case to avoid slowness
Calling `count()` in a for loop is terrible as the no. of elements in
the array gets recomputed every time. Instead, just call it once and
use the variable to avoid slowness of tests. We shouldn't put more load
on CI to make it slower :D

Change-Id: I9b94bda646e8d922e1f91c9d83d16370caaf8fbd
2023-08-10 14:22:22 +01:00
..
BacklinkCacheTest.php BacklinkCacheTest: Fix test case to avoid slowness 2023-08-10 14:22:22 +01:00
GenderCacheTest.php
LinkBatchTest.php watcheditem: Switch out of LB for picking db connection 2023-05-05 15:42:10 +02:00
LinkCacheTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
LinkCacheTestTrait.php Remove references to legacy page_restrictions field in page table 2022-05-09 11:20:53 +02:00