public function RequestParametersTest::provideValidData in reCAPTCHA 7.2
Same name and namespace in other branches
- 6.2 recaptcha-php/tests/ReCaptcha/RequestParametersTest.php \ReCaptcha\RequestParametersTest::provideValidData()
File
- recaptcha-php/
tests/ ReCaptcha/ RequestParametersTest.php, line 33
Class
Namespace
ReCaptchaCode
public function provideValidData() {
return array(
array(
'SECRET',
'RESPONSE',
'REMOTEIP',
'VERSION',
array(
'secret' => 'SECRET',
'response' => 'RESPONSE',
'remoteip' => 'REMOTEIP',
'version' => 'VERSION',
),
'secret=SECRET&response=RESPONSE&remoteip=REMOTEIP&version=VERSION',
),
array(
'SECRET',
'RESPONSE',
null,
null,
array(
'secret' => 'SECRET',
'response' => 'RESPONSE',
),
'secret=SECRET&response=RESPONSE',
),
);
}