Merge "AbuseFilterConsequencesTest: Don't call non-static method statically"

This commit is contained in:
jenkins-bot 2021-07-30 01:42:54 +00:00 committed by Gerrit Code Review
commit e50e1f507e

View file

@ -992,7 +992,7 @@ class AbuseFilterConsequencesTest extends MediaWikiTestCase {
*/
public function testThrottle( $createIds, $actionsParams, $consequences ) {
$this->createFilters( $createIds );
$results = self::doActions( $actionsParams );
$results = $this->doActions( $actionsParams );
$res = $this->checkThrottleConsequence( $results );
$lastParams = array_pop( $actionsParams );
list( $expected, $actual ) = $this->checkConsequences( $res, $lastParams, $consequences );