mediawiki-extensions-AbuseF.../tests/phpunit/unit
STran f5d7b68908 Force full evaluation of filter in FilterEvaluator->getUsedVars()
In some cases, evaluation short-circuits when getting a list of
used variables resulting in an incomplete array of variables. This
subsequently causes issues when using those arrays for validation
checks (eg. if protected variables are used).

- Force full evaluation by setting `mAllowShort` to false

Bug: T364485
Change-Id: Idf2112d9ebf63846cde3ce9b8a8ade0ed909505d
2024-06-11 02:43:47 -07:00
..
ChangeTags tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Consequences tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Filter Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
Hooks tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
Parser Force full evaluation of filter in FilterEvaluator->getUsedVars() 2024-06-11 02:43:47 -07:00
Special tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
VariableGenerator Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
Variables Add user_unnamed_ip variable 2024-05-23 07:19:48 -07:00
Watcher tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
AbuseFilterPermissionManagerTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
AbuseLoggerFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
ActionSpecifierTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
BlockAutopromoteStoreTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
CentralDBManagerTest.php tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
EditBoxBuilderFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
EditRevUpdaterTest.php tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
EditStashCacheTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
EmergencyCacheTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterCompareTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterImporterTest.php Convert af_hidden into a bitmask 2024-05-28 00:59:08 -07:00
FilterLookupTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
FilterProfilerTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterRunnerFactoryTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterStoreTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
FilterValidatorTest.php Clarify protected status in filter checkboxes 2024-06-06 00:23:39 -07:00
GlobalNameUtilsTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
KeywordsManagerTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
RunnerDataTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00
SpecsFormatterTest.php Allow variables to be restricted by user right 2024-06-04 06:54:53 -07:00
TextExtractorTest.php tests: Widen @covers tags in phpunit tests 2024-04-17 01:44:40 +01:00