function ContextConditionUserPageTest::tearDown in Context 6.3
Same name and namespace in other branches
- 6 tests/context.conditions.test \ContextConditionUserPageTest::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 81
Class
Code
function tearDown() {
parent::tearDown();
context_delete($this->context);
$edit = array();
user_delete($edit, $this->user1->uid);
user_delete($edit, $this->user2->uid);
}