You are here

protected function YamlFormTestTrait::purgeSubmissions in YAML Form 8

Purge all submission before the yamlform.module is uninstalled.

4 calls to YamlFormTestTrait::purgeSubmissions()
YamlFormDraftTest::tearDown in src/Tests/YamlFormDraftTest.php
Cleans up after testing.
YamlFormSubmissionStorageTest::tearDown in src/Tests/YamlFormSubmissionStorageTest.php
Cleans up after testing.
YamlFormTestBase::tearDown in src/Tests/YamlFormTestBase.php
Cleans up after testing.
YamlFormWizardTest::tearDown in src/Tests/YamlFormWizardTest.php
Cleans up after testing.

File

src/Tests/YamlFormTestTrait.php, line 144

Class

YamlFormTestTrait
Defines form test trait.

Namespace

Drupal\yamlform\Tests

Code

protected function purgeSubmissions() {
  db_query('DELETE FROM {yamlform_submission}');
}