mediawiki-extensions-SpamBl.../tests/phpunit
Kunal Mehta 66e8e29ea6 Unbreak BaseBlacklist::getTypeFromTitle() and add tests
The first part of the title is supposed to be capitalized, so call
ucfirst on it, and then make blacklist and whitelist lowercase. Add
tests to verify the known blacklist and whitelist types are recognized
correctly.

This will make validation of SpamBlacklist messages upon edit work
again.

Bug: T169838
Change-Id: I98688362f222ab65115fbec46e0f67587d19022d
2017-07-08 01:39:16 +00:00
..
BaseBlacklistTest.php Unbreak BaseBlacklist::getTypeFromTitle() and add tests 2017-07-08 01:39:16 +00:00
SpamBlacklistTest.php Fix incorrect @group tag in SpamBlacklistTest 2017-07-06 03:22:50 +00:00