Remove incomplete @param from test function

the @dataProvider should be a enough here

Change-Id: Id9396e8baf734a028eda5dde5caeb8ac98cf1606
This commit is contained in:
Umherirrender 2021-01-23 01:36:10 +01:00
parent 131f13e5b9
commit 91ecfa4ddd

View file

@ -155,10 +155,6 @@ class CaptchaTest extends MediaWikiTestCase {
} }
/** /**
* @param $allowUserConfirmEmail
* @param $userIsMailConfirmed
* @param $expected
* @throws ConfigException
* @dataProvider provideCanSkipCaptchaMailconfirmed * @dataProvider provideCanSkipCaptchaMailconfirmed
*/ */
public function testCanSkipCaptchaMailconfirmed( $allowUserConfirmEmail, public function testCanSkipCaptchaMailconfirmed( $allowUserConfirmEmail,
@ -184,10 +180,6 @@ class CaptchaTest extends MediaWikiTestCase {
} }
/** /**
* @param $requestIP
* @param $IPWhitelist
* @param $expected
* @throws ConfigException
* @dataProvider provideCanSkipCaptchaIPWhitelisted * @dataProvider provideCanSkipCaptchaIPWhitelisted
*/ */
public function testCanSkipCaptchaIPWhitelisted( $requestIP, $IPWhitelist, $expected ) { public function testCanSkipCaptchaIPWhitelisted( $requestIP, $IPWhitelist, $expected ) {