You are here

protected function DrupalWebTestCase::curlClose in SimpleTest 6.2

Same name and namespace in other branches
  1. 7.2 drupal_web_test_case.php \DrupalWebTestCase::curlClose()
  2. 7 drupal_web_test_case.php \DrupalWebTestCase::curlClose()

Close the cURL handler and unset the handler.

1 call to DrupalWebTestCase::curlClose()
DrupalWebTestCase::tearDown in ./drupal_web_test_case.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

File

./drupal_web_test_case.php, line 1571

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

protected function curlClose() {
  if (isset($this->curlHandle)) {
    curl_close($this->curlHandle);
    unset($this->curlHandle);
  }
}