mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Merge "AbuseFilterConsequencesTest: Don't call non-static method statically"
This commit is contained in:
commit
e50e1f507e
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue