tests: Set $tablesUsed in CheckMatchTest

The patch d0c3001c62 sets the database group
without setting $tablesUsed resulting in leaked data.

The QueryAbuseLogTest::testConstruct test assumed an empty log table.

Newer MediaWiki (REL1_42, 71ff052677) does not need $tablesUsed and so
this is not included in the master patch set.

Bug: T376090
Change-Id: I18bc88fadc0b46a437e231744650c445eedc187e
This commit is contained in:
Umherirrender 2024-10-26 18:18:38 +02:00
parent 24a4446478
commit 95cc33befc

View file

@ -26,6 +26,9 @@ class CheckMatchTest extends ApiTestCase {
use AbuseFilterApiTestTrait;
use MockAuthorityTrait;
/** @inheritDoc */
protected $tablesUsed = [ 'abuse_filter_log' ];
/**
* @covers ::execute
*/