function UserAccessTest::tearDown in SimpleTest 5
Same name and namespace in other branches
- 6 tests/user_module.test \UserAccessTest::tearDown()
tearDown implementation, setting back switched modules etc
Overrides DrupalTestCase::tearDown
File
- tests/
user_access.test, line 13
Class
Code
function tearDown() {
while (sizeof($this->_cleanup_masks) > 0) {
$aid = array_pop($this->_cleanup_masks);
db_query("DELETE FROM {access} WHERE aid = %d", $aid);
}
parent::tearDown();
}