public function SpamWebTestCase::tearDown in Spam 6
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
Overrides DrupalWebTestCase::tearDown
File
- tests/
spam.test, line 50 - Spam module functionality tests.
Class
- SpamWebTestCase
- Base class for all spam web test cases.
Code
public function tearDown() {
if ($this->debug) {
debug('For Debugging make sure verbose testing output is active or you can\'t access the report!');
$this
->drupalLogin($this->admin_user);
$this
->drupalGet('admin/reports/spam');
}
parent::tearDown();
}