tests: Use static provider in AuthenticationRequestTest

Shows up a deprecation message

Follow-Up: I5ff35ad0e894f0a27beae00257dc1fc599ad518d
Change-Id: If9787b27c4598711a0e5127385dbee57dab55d66
This commit is contained in:
Umherirrender 2023-05-19 22:26:53 +02:00
parent 40d826243e
commit 65470a1c77
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ class CaptchaAuthenticationRequestTest extends AuthenticationRequestTestCase {
];
}
public function provideLoadFromSubmission() {
public static function provideLoadFromSubmission() {
return [
'no id' => [
[ '123', [ 'question' => '1+2', 'answer' => '3' ] ],

View file

@ -24,7 +24,7 @@ class ReCaptchaNoCaptchaAuthenticationRequestTest extends AuthenticationRequestT
return new ReCaptchaNoCaptchaAuthenticationRequest();
}
public function provideLoadFromSubmission() {
public static function provideLoadFromSubmission() {
return [
'no proof' => [ [], [], false ],
'normal' => [ [], [ 'captchaWord' => 'abc' ], [ 'captchaWord' => 'abc' ] ],