You are here

public function PostTest::testOverrideVerifyUrl in reCAPTCHA 7.2

File

recaptcha-php/tests/ReCaptcha/RequestMethod/PostTest.php, line 65

Class

PostTest

Namespace

ReCaptcha\RequestMethod

Code

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');
}