You are here

public function OGMTTestBase::tearDown in Open Graph meta tags 7

Same name and namespace in other branches
  1. 6 tests/TestBase.inc \OGMTTestBase::tearDown()
  2. 7.2 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

1 call to OGMTTestBase::tearDown()
OGMTHookTest::tearDown in tests/Hooks.test
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
1 method overrides OGMTTestBase::tearDown()
OGMTHookTest::tearDown in tests/Hooks.test
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

File

tests/TestBase.inc, line 31

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();
}