public function RestfulAuthenticationTestCase::tearDown in RESTful 7.2
Same name and namespace in other branches
- 7 tests/RestfulAuthenticationTestCase.test \RestfulAuthenticationTestCase::tearDown()
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
Overrides DrupalWebTestCase::tearDown
File
- tests/
RestfulAuthenticationTestCase.test, line 69 - Contains RestfulAuthenticationTestCase.
Class
- RestfulAuthenticationTestCase
- Class RestfulAuthenticationTestCase.
Code
public function tearDown() {
// Put back the $_SERVER array.
$_SERVER = $this->originalServer;
$_SESSION = $this->originalSession;
parent::tearDown();
}