protected function SearchApiDbTest::clearIndex in Search API Database Search 7
2 calls to SearchApiDbTest::clearIndex()
File
- ./
search_api_db.test, line 932
Class
- SearchApiDbTest
- Class for testing index and search capabilities using the Database search module.
Code
protected function clearIndex() {
$success = search_api_index_load($this->index_id)
->clear();
$this
->assertTrue($success, 'The index was successfully cleared.');
}