mediawiki-extensions-AbuseF.../tests
Dreamy Jazz 7ecc204050 Expand SearchFilters.php to search by consequence
Why:
* SearchFilters.php allows the caller to search by a regex that
  is applied to the pattern.
* This script can be expanded to allow callers to specify what
  consequence should be associated with the filters that are
  outputted.

What:
* Add a 'consequence' option to the SearchFilters.php maintenance
  script, which is applied through a LIKE query on the
  af_actions column.
** This can be specified with or without the pattern option.
** Instead of making pattern required, the script now requires
   that one of consequence or pattern is provided.
* Expand the tests for the script for this new code, along with
  using the new ::expectCallToFatalError method to be able to
  test previously untestable code.

Bug: T373148
Change-Id: I1b507d8f9dc1f4cf91ee4f83ccde745eb6d46d6d
2024-08-22 22:07:37 +01: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 Expand SearchFilters.php to search by consequence 2024-08-22 22:07:37 +01:00
selenium selenium: Document when, how and why a test is skipped 2024-07-08 15:02:10 +02:00