You are here

function WebformDefaultFieldsTestCase::tearDown in Webform Default Fields 6

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

Implemenation of tearDown().

Overrides DrupalWebTestCase::tearDown

File

tests/webform_default_fields.test, line 60
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();
}