You are here

function ContextConditionUserTest::tearDown in Context 6.3

Same name and namespace in other branches
  1. 6 tests/context.conditions.test \ContextConditionUserTest::tearDown()

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

File

tests/context.conditions.test, line 36

Class

ContextConditionUserTest

Code

function tearDown() {
  parent::tearDown();
  context_delete($this->context);
  $edit = array();
  user_delete($edit, $this->user1->uid);
  user_delete($edit, $this->user2->uid);
}