You are here

function UserAccessTest::tearDown in SimpleTest 5

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

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);
  }
  parent::tearDown();
}