function ContextConditionNodeTaxonomyTest::tearDown in Context 6.3
Same name and namespace in other branches
- 6 tests/context.conditions.test \ContextConditionNodeTaxonomyTest::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 161
Class
Code
function tearDown() {
parent::tearDown();
context_delete($this->context);
taxonomy_del_vocabulary($this->vocab['vid']);
taxonomy_del_term($this->terms['apples']['tid']);
taxonomy_del_term($this->terms['oranges']['tid']);
}