tests: Use static provider in TitleBlacklistAuthenticationRequestTest

Shows up a deprecation message

Follow-Up: I5ff35ad0e894f0a27beae00257dc1fc599ad518d
Change-Id: I159d727d92ed1d5ca5721d9a290bff89c5922c8d
This commit is contained in:
Umherirrender 2023-05-19 22:27:21 +02:00
parent 47b971ac4b
commit 7ece0eddd0
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@
"license-name": "GPL-2.0-or-later",
"type": "antispam",
"requires": {
"MediaWiki": ">= 1.40.0"
"MediaWiki": ">= 1.41.0"
},
"GroupPermissions": {
"sysop": {

View file

@ -11,7 +11,7 @@ class TitleBlacklistAuthenticationRequestTest extends AuthenticationRequestTestC
return new TitleBlacklistAuthenticationRequest();
}
public function provideLoadFromSubmission() {
public static function provideLoadFromSubmission() {
return [
'empty' => [ [], [], [ 'ignoreTitleBlacklist' => false ] ],
'true' => [ [], [ 'ignoreTitleBlacklist' => '1' ], [ 'ignoreTitleBlacklist' => true ] ],