protected function WebTestBase::tearDown

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

Overrides TestBase::tearDown

5 calls to WebTestBase::tearDown()
BrokenSetUpTest::tearDown in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/BrokenSetUpTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
JavaScriptTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
PageTitleFilteringTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/System/PageTitleFilteringTest.php
Reset page title.
ReadOnlyStreamWrapperTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/File/ReadOnlyStreamWrapperTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
StreamWrapperTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
5 methods override WebTestBase::tearDown()
BrokenSetUpTest::tearDown in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/BrokenSetUpTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
JavaScriptTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
PageTitleFilteringTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/System/PageTitleFilteringTest.php
Reset page title.
ReadOnlyStreamWrapperTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/File/ReadOnlyStreamWrapperTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
StreamWrapperTest::tearDown in drupal/core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 961
Definition of Drupal\simpletest\WebTestBase.

Class

WebTestBase
Test case for typical Drupal tests.

Namespace

Drupal\simpletest

Code

protected function tearDown() {

  // Destroy the testing kernel.
  if (isset($this->kernel)) {
    $this->kernel
      ->shutdown();
  }
  parent::tearDown();

  // Ensure that internal logged in variable and cURL options are reset.
  $this->loggedInUser = FALSE;
  $this->additionalCurlOptions = array();

  // Close the CURL handler.
  $this
    ->curlClose();
}