You are here

function UserAccessTest::tearDown in SimpleTest 6

Same name and namespace in other branches
  1. 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

UserAccessTest

Code

function tearDown() {
  while (sizeof($this->_cleanup_masks) > 0) {
    $aid = array_pop($this->_cleanup_masks);
    db_query("DELETE FROM {access} WHERE aid = %d", $aid);
  }
}