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