mediawiki-extensions-AbuseF.../tests/phpunit/integration
Dreamy Jazz f4e3f78b7e Add integration test to verify logs are saved in CheckUser
Why:
* In f3c87749b8, the sending of logs
  to CheckUser when using a temporary account was fixed. As part
  of that change, it was suggested to add a test to verify that
  the call to `Hooks::updateCheckUserData` actually causes an
  insert into the relevant CheckUser result table.
* This change adds this test as a follow-up.

What:
* Create a test for the AbuseLogger that verifies that an event is
  sent to CheckUser and is saved into the DB for an abuse filter
  hit. This test is only run if the CheckUser extension is installed.

Bug: T358632
Change-Id: I33ed0810db13e38eacf4e682eb54d4ffcd583084
2024-03-01 16:11:33 +00:00
..
Api tests: Avoid DB access in non-Database tests 2023-08-06 22:19:03 +00:00
ChangeTags tests: Avoid DB access in non-Database tests 2023-08-06 22:19:03 +00:00
Hooks Fix wrong namespacing of integration test using \Unit\ 2024-02-23 15:55:47 +03:00
Maintenance Remove $this->tablesUsed from PHPUnit tests 2024-01-14 04:45:29 -08:00
Parser Mark protected stuff in classes with no subclasses as private 2023-06-23 12:28:06 +02:00
Special tests: Make some PHPUnit data providers static 2023-05-20 21:44:55 +02:00
Watcher Migrate DeferredUpdatesManager to use DeferredUpdates directly 2023-08-21 12:59:28 +01:00
AbuseFilterExtensionJsonTest.php Use HookHandlers for UserMerge hook 2023-08-16 09:44:30 +02:00
AbuseFilterServicesTest.php Add missing AbuseFilterServices::getHookRunner() 2023-06-14 17:35:43 +02:00
AbuseLoggerTest.php Add integration test to verify logs are saved in CheckUser 2024-03-01 16:11:33 +00:00
ActionVariablesIntegrationTest.php Remove $this->tablesUsed from PHPUnit tests 2024-01-14 04:45:29 -08:00
EchoNotifierTest.php Use namespaced Title 2023-08-19 19:49:36 +02:00
FilteredActionsHandlerTest.php Re-enable skipped test 2023-08-25 17:06:15 +02:00
FilterRunnerTest.php Use namespaced classes 2023-12-10 23:03:12 +01:00
FilterStoreTest.php Remove $this->tablesUsed from PHPUnit tests 2024-01-14 04:45:29 -08:00
FilterValidatorTest.php tests: Avoid DB access in non-Database tests 2023-08-06 22:19:03 +00:00