You are here

public function FormBuilderAdminTest::tearDown in Form Builder 7

Purge data stored to the form cache during the tests.

Overrides DrupalUnitTestCase::tearDown

File

tests/FormBuilderAdminTest.php, line 19

Class

FormBuilderAdminTest

Code

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