function IpAddressTest::tearDown

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

Overrides WebTestBase::tearDown

File

drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/IpAddressTest.php, line 44
Definition of Drupal\system\Tests\Bootstrap\IpAddressTest.

Class

IpAddressTest
Tests getting IP addresses and hostname validation.

Namespace

Drupal\system\Tests\Bootstrap

Code

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