You are here

function ResourceStreamTestCase::tearDown in D7 Media 6

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

Overrides DrupalWebTestCase::tearDown

File

resource/tests/ResourceStream.test, line 48
This provides SimpleTests for the core stream wrapper functionality.

Class

ResourceStreamTestCase
Base class for file tests that adds some additional file specific assertions and helper functions.

Code

function tearDown() {
  unlink($this->realpath . $this->path);
  rmdir($this->realpath . '/' . $this->dirname);
}