You are here

function RecommenderTestCase::tearDown in Recommender API 6.2

Same name and namespace in other branches
  1. 6.3 recommender.test \RecommenderTestCase::tearDown()
  2. 7.3 recommender.test \RecommenderTestCase::tearDown()
  3. 7.4 recommender.test \RecommenderTestCase::tearDown()
  4. 7.5 recommender.test \RecommenderTestCase::tearDown()

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

File

./recommender.test, line 150

Class

RecommenderTestCase

Code

function tearDown() {
  $ret = array();
  db_drop_table($ret, 'recommender_grouplens');
  parent::tearDown();

  // note: has to call this, or otherwise it'll cause exceptions.
}