You are here

function SearchMatchTest::_cleanup in SimpleTest 6

Same name and namespace in other branches
  1. 5 tests/search_match.test \SearchMatchTest::_cleanup()

Clean up the indexed test content.

1 call to SearchMatchTest::_cleanup()
SearchMatchTest::test_matching in tests/search_match.test

File

tests/search_match.test, line 43

Class

SearchMatchTest

Code

function _cleanup() {
  for ($i = 1; $i < 7; ++$i) {
    search_wipe($i, SEARCH_TYPE);
  }
  search_update_totals();
}