mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-13 17:27:20 +00:00
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:
parent
24a4446478
commit
95cc33befc
|
@ -26,6 +26,9 @@ class CheckMatchTest extends ApiTestCase {
|
|||
use AbuseFilterApiTestTrait;
|
||||
use MockAuthorityTrait;
|
||||
|
||||
/** @inheritDoc */
|
||||
protected $tablesUsed = [ 'abuse_filter_log' ];
|
||||
|
||||
/**
|
||||
* @covers ::execute
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue