You are here

public function AdminTest::tearDown in Form Builder 7.2

Purge data stored to the form cache during the tests.

File

tests/AdminTest.php, line 21

Class

AdminTest

Namespace

Drupal\form_builder

Code

public function tearDown() {
  parent::tearDown();
  FormBase::purge(0);
  Loader::instance()
    ->fromCache(NULL, NULL, NULL, TRUE);
}