mediawiki-extensions-Linter/tests/phpunit
Kunal Mehta 4f4b700fbd Fix off-by-one error around MAX_ACCURATE_COUNT
Currently we select 20 rows, and return the accurate count if it's less
than that, so up to 19 rows. Since we want to return an accurate count
if it's 20 rows or less, select one more row, 21, so we can differentiate
between only having 20 result rows or hitting the limit. This is the same
technique used in MediaWiki's Pager system.

Change-Id: I50fa96238eb4c7178414ee92c53799fd69520926
2021-08-06 13:05:29 -07:00
..
unit Convert LintErrorTest to pure unit tests 2021-03-27 02:28:25 +00:00
CategoryMessagesTest.php Update Legoktm's email address 2021-04-11 19:08:44 -07:00
DatabaseTest.php Fix off-by-one error around MAX_ACCURATE_COUNT 2021-08-06 13:05:29 -07:00
RecordLintJobTest.php Allow Parsoid to provide category ID hints 2019-12-03 23:26:34 -05:00
SpecialLintErrorsTest.php Update for deprecations in PHPUnit 2020-07-09 17:00:41 +02:00