You are here

public function YamlFormTestBase::tearDown in YAML Form 8

Cleans up after testing.

Deletes created files and temporary files directory, deletes the tables created by setUp(), and resets the database prefix.

Overrides WebTestBase::tearDown

File

src/Tests/YamlFormTestBase.php, line 53

Class

YamlFormTestBase
Defines an abstract test base for form tests.

Namespace

Drupal\yamlform\Tests

Code

public function tearDown() {
  $this
    ->purgeSubmissions();
  parent::tearDown();
}