You are here

public function RecommenderTestCase::tearDown in Recommender API 7.3

Same name and namespace in other branches
  1. 6.3 recommender.test \RecommenderTestCase::tearDown()
  2. 6.2 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 28

Class

RecommenderTestCase

Code

public function tearDown() {

  //db_truncate('recommender_preference_staging');

  //recommender_app_unregister(array_keys($this->getApps()));
  parent::tearDown();

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