public function OGMTTestBase::tearDown in Open Graph meta tags 7.2
Same name and namespace in other branches
- 6 tests/TestBase.inc \OGMTTestBase::tearDown()
- 7 tests/TestBase.inc \OGMTTestBase::tearDown()
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
Overrides DrupalWebTestCase::tearDown
File
- tests/
TestBase.inc, line 28
Class
- OGMTTestBase
- Base test class
Code
public function tearDown() {
$instance = OpenGraphMeta::instance();
call_user_func_array(array(
&$instance,
'__set_objects',
), $this->ogm_objects_backup);
parent::tearDown();
}