public function ResponseTest::testGetChallengeTs in reCAPTCHA 7.2
File
- recaptcha-php/
tests/ ReCaptcha/ ResponseTest.php, line 122
Class
Namespace
ReCaptchaCode
public function testGetChallengeTs() {
$timestamp = 'timestamp';
$errorCodes = array();
$response = new Response(true, array(), 'hostname', $timestamp);
$this
->assertEquals($timestamp, $response
->getChallengeTs());
}