function UserAccessTest::tearDown in SimpleTest 6
Same name and namespace in other branches
- 5 tests/user_access.test \UserAccessTest::tearDown()
tearDown implementation, setting back switched modules etc
Overrides DrupalTestCase::tearDown
File
- tests/
user_module.test, line 174
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);
}
}