public function ReCaptchaTest::testVerifyReturnsInitialResponseWithoutAdditionalChecks in reCAPTCHA 7.2
File
- recaptcha-php/
tests/ ReCaptcha/ ReCaptchaTest.php, line 85
Class
Namespace
ReCaptchaCode
public function testVerifyReturnsInitialResponseWithoutAdditionalChecks() {
$method = $this
->getMockRequestMethod('{"success": true}');
$rc = new ReCaptcha('secret', $method);
$initialResponse = $rc
->verify('response');
$this
->assertEquals($initialResponse, $rc
->verify('response'));
}