mediawiki-extensions-AbuseF.../tests
Amir Sarabadani 60cbc3b464 BlockedDomains: Use cleaner array building and add tests
Regarding array building: Instead of adding to array with
$array[] = 'foo' and then doing array_flip(), simply do
$array['foo'] = true;

Regarding tests: I originally wanted to create a unit test but I ended
up mocking so many things that it wasn't worth it and the config variable
is globaly which first we need to clean up after deployment is done.

Bug: T337431
Change-Id: Iac8dca7078668ee3441d19b6aafe499c1aa0d732
2023-06-12 17:46:55 +00:00
..
parserTests Merge "Add support for regex string replacements." 2022-05-31 14:54:33 +00:00
parserTestsEquivset Move parser tests to /unit 2019-08-28 16:36:37 +00:00
phpunit BlockedDomains: Use cleaner array building and add tests 2023-06-12 17:46:55 +00:00
selenium Temporarily re-disable flaky selenium test 2023-04-04 22:30:06 +02:00