public function PostTest::testSSLContextOptions in reCAPTCHA 7.2
Same name and namespace in other branches
- 6.2 recaptcha-php/tests/ReCaptcha/RequestMethod/PostTest.php \ReCaptcha\RequestMethod\PostTest::testSSLContextOptions()
File
- recaptcha-php/
tests/ ReCaptcha/ RequestMethod/ PostTest.php, line 57
Class
Namespace
ReCaptcha\RequestMethodCode
public function testSSLContextOptions() {
$req = new Post();
self::$assert = array(
$this,
'sslContextOptionsCallback',
);
$req
->submit($this->parameters);
$this
->assertEquals(1, $this->runcount, 'The assertion was ran');
}