mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +00:00
Remove incomplete @param from test function
the @dataProvider should be a enough here Change-Id: Id9396e8baf734a028eda5dde5caeb8ac98cf1606
This commit is contained in:
parent
131f13e5b9
commit
91ecfa4ddd
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue