function BootstrapIPAddressTestCase::tearDown

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

File

modules/simpletest/tests/bootstrap.test, line 39

Class

BootstrapIPAddressTestCase

Code

function tearDown() {
  $_SERVER = $this->oldserver;
  drupal_static_reset('ip_address');
  parent::tearDown();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.