public function RouteProviderTest::tearDown

Deletes created files, database tables, and reverts all environment changes.

This method needs to be invoked for both unit and integration tests.

Overrides TestBase::tearDown

See also

TestBase::prepareDatabasePrefix()

TestBase::changeDatabasePrefix()

TestBase::prepareEnvironment()

File

drupal/core/modules/system/lib/Drupal/system/Tests/Routing/RouteProviderTest.php, line 47
Contains Drupal\system\Tests\Routing\RouteProviderTest.

Class

RouteProviderTest
Basic tests for the RouteProvider.

Namespace

Drupal\system\Tests\Routing

Code

public function tearDown() {
  $this->fixtures
    ->dropTables(Database::getConnection());
  parent::tearDown();
}