public function AliasTest::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/Path/AliasTest.php, line 33
Definition of Drupal\system\Tests\Path\CrudTest.

Class

AliasTest
Tests path alias CRUD and lookup functionality.

Namespace

Drupal\system\Tests\Path

Code

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