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