You are here

public function WebformDefaultFieldsTestCase::tearDown in Webform Default Fields 7.4

Same name and namespace in other branches
  1. 6 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 66
Webform Default Fields module tests.

Class

WebformDefaultFieldsTestCase
Tests the module functionality.

Code

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