public function PostTest::testOverrideVerifyUrl in reCAPTCHA 7.2
File
- recaptcha-php/
tests/ ReCaptcha/ RequestMethod/ PostTest.php, line 65
Class
Namespace
ReCaptcha\RequestMethodCode
public function testOverrideVerifyUrl() {
$req = new Post('https://over.ride/some/path');
self::$assert = array(
$this,
'overrideUrlOptions',
);
$req
->submit($this->parameters);
$this
->assertEquals(1, $this->runcount, 'The assertion was ran');
}