You are here

function ContextUiTest::tearDown in Context 5

tearDown implementation, setting back switched modules etc

Overrides DrupalTestCase::tearDown

File

context_ui/tests/context_ui.test, line 26

Class

ContextUiTest
Functional Test for Context UI

Code

function tearDown() {
  include_once drupal_get_path("module", "context_ui") . "/context_ui_admin.inc";
  context_ui_context('delete', $this->context);
  $this
    ->drupalModuleDisable('context');
  $this
    ->drupalModuleDisable('context_ui');
  parent::tearDown();
}