You are here

protected function CurlPostTest::setUp in reCAPTCHA 6.2

Same name and namespace in other branches
  1. 7.2 recaptcha-php/tests/ReCaptcha/RequestMethod/CurlPostTest.php \ReCaptcha\RequestMethod\CurlPostTest::setUp()

File

recaptcha-php/tests/ReCaptcha/RequestMethod/CurlPostTest.php, line 34

Class

CurlPostTest

Namespace

ReCaptcha\RequestMethod

Code

protected function setUp() {
  if (!extension_loaded('curl')) {
    $this
      ->markTestSkipped('The cURL extension is not available.');
  }
}