You are here

function ContextConditionUserTest::tearDown in Context 6

Same name and namespace in other branches
  1. 6.3 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 39

Class

ContextConditionUserTest

Code

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