mediawiki-extensions-Linter/includes
Kunal Mehta 14b53d6281 Add integration tests for Database class
These tests insert variations of fake lint errors into the database, and
then read out of the database to check they round-trip properly.

And while we're at it, improve the setForPage() return value.

These tests can be run with something like:
 php tests/phpunit/phpunit.php extensions/Linter/tests/phpunit/

Change-Id: Ifdba8a8a104d218a822f909bc5d7b3512aca499d
2016-11-30 21:17:51 -08:00
..
ApiQueryLintErrors.php Enforce category/page/position uniqueness constraint in the database 2016-11-30 18:55:19 -08:00
ApiRecordLint.php Enforce category/page/position uniqueness constraint in the database 2016-11-30 18:55:19 -08:00
CategoryManager.php Hardcode category ids 2016-11-22 18:31:17 -08:00
Database.php Add integration tests for Database class 2016-11-30 21:17:51 -08:00
Hooks.php Delete linter rows when pages are deleted 2016-11-22 18:31:21 -08:00
LintError.php Enforce category/page/position uniqueness constraint in the database 2016-11-30 18:55:19 -08:00
LintErrorsPager.php Enforce category/page/position uniqueness constraint in the database 2016-11-30 18:55:19 -08:00
RecordLintJob.php Enforce category/page/position uniqueness constraint in the database 2016-11-30 18:55:19 -08:00
SpecialLintErrors.php SpecialLintErrors: Implement getSubpagesForPrefixSearch() 2016-11-22 18:31:21 -08:00