From ace6f652af09a41716da2f04abc4b9b9813cc3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Such=C3=A1nek?= Date: Thu, 29 Jul 2021 16:12:06 +0200 Subject: [PATCH] AbuseFilterConsequencesTest: Don't call non-static method statically Change-Id: I0b4ed2f456bf4a52756eb0b98a29994a4a53812c --- tests/phpunit/AbuseFilterConsequencesTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/AbuseFilterConsequencesTest.php b/tests/phpunit/AbuseFilterConsequencesTest.php index 6130dcd15..d2f2ae58a 100644 --- a/tests/phpunit/AbuseFilterConsequencesTest.php +++ b/tests/phpunit/AbuseFilterConsequencesTest.php @@ -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 );