mediawiki-extensions-AbuseF.../tests/phpunit/unit
Daimona Eaytoy a46db47bd5 Fix validation for ip_in_ranges
We want to make sure that all parameters are valid regardless of whether
there's a match.

Also make the minimum number of parameters = 2, so it's easier to switch
between this function and ip_in_range.

Change-Id: I141558a7ef4533485e315b3d93ea9b64f0959db7
2022-05-21 15:39:21 +02:00
..
ChangeTags Introduce ActionSpecifier 2022-02-18 11:30:56 +00:00
Consequences Clean up test files 2022-03-20 17:40:49 +00:00
Filter Use static closures where safe to use 2021-04-30 20:55:35 +02:00
Hooks build: Updating dependencies 2021-07-21 18:51:18 +00:00
Parser Fix validation for ip_in_ranges 2022-05-21 15:39:21 +02:00
Special Use updated ObjectFactory namespace 2022-03-09 22:17:07 +00:00
VariableGenerator Rename AbuseFilterVariableGeneratorTest 2021-09-15 18:17:36 +02:00
Variables Use RestrictionStore instead of deprecated method 2022-03-29 16:11:55 +02:00
Watcher build: Updating dependencies 2021-07-21 18:51:18 +00:00
AbuseFilterPermissionManagerTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
AbuseLoggerFactoryTest.php Introduce an EditRevUpdater service 2021-01-27 00:24:39 +01:00
ActionSpecifierTest.php Introduce ActionSpecifier 2022-02-18 11:30:56 +00:00
BlockAutopromoteStoreTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
CentralDBManagerTest.php tests: Use DBConnRef, not IDatabase, as retval of getConnectionRef 2021-08-31 21:45:10 +02:00
EditBoxBuilderFactoryTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
EditRevUpdaterTest.php tests: Use DBConnRef, not IDatabase, as retval of getConnectionRef 2021-08-31 21:45:10 +02:00
EditStashCacheTest.php Clean up / simplify parser-related classes 2021-09-08 13:41:52 +02:00
EmergencyCacheTest.php Use independent stats for emergency disable 2021-02-26 18:10:49 +01:00
FilterCompareTest.php Use static closures where safe to use 2021-04-30 20:55:35 +02:00
FilterImporterTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
FilterLookupTest.php tests: Use DBConnRef, not IDatabase, as retval of getConnectionRef 2021-08-31 21:45:10 +02:00
FilterProfilerTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
FilterRunnerFactoryTest.php Rename ParserFactory -> RuleCheckerFactory 2021-09-08 21:59:34 +02:00
FilterRunnerTest.php Rename ParserFactory -> RuleCheckerFactory 2021-09-08 21:59:34 +02:00
FilterStoreTest.php Use independent stats for emergency disable 2021-02-26 18:10:49 +01:00
FilterValidatorTest.php Rename private assertion method 2022-03-05 21:48:18 +00:00
GlobalNameUtilsTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
KeywordsManagerTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
RunnerDataTest.php Refactor ParserStatus 2021-09-17 11:25:54 +00:00
SpecsFormatterTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00
TextExtractorTest.php build: Updating dependencies 2021-07-21 18:51:18 +00:00