You are here

public function PostTest::testSSLContextOptions in reCAPTCHA 7.2

Same name and namespace in other branches
  1. 6.2 recaptcha-php/tests/ReCaptcha/RequestMethod/PostTest.php \ReCaptcha\RequestMethod\PostTest::testSSLContextOptions()

File

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

Class

PostTest

Namespace

ReCaptcha\RequestMethod

Code

public function testSSLContextOptions() {
  $req = new Post();
  self::$assert = array(
    $this,
    'sslContextOptionsCallback',
  );
  $req
    ->submit($this->parameters);
  $this
    ->assertEquals(1, $this->runcount, 'The assertion was ran');
}