You are here

function WebformDefaultFieldsTestCase::tearDown in Webform Default Fields 7.3

Same name and namespace in other branches
  1. 6 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::tearDown()
  2. 7.4 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::tearDown()
  3. 7 tests/webform_default_fields.test \WebformDefaultFieldsTestCase::tearDown()

Implemenation of tearDown().

Overrides DrupalWebTestCase::tearDown

File

tests/webform_default_fields.test, line 61
Webform Default Fields module tests.

Class

WebformDefaultFieldsTestCase
@file Webform Default Fields module tests.

Code

function tearDown() {
  module_disable(array(
    'webform_default_fields',
    'webform',
  ));
  variable_set('webform_default_fields_nid_' . $this->_content_type, 0);
  $this->_counter = 0;
  parent::tearDown();
}