You are here

function RestfulAuthenticationTestCase::tearDown in RESTful 7

Same name and namespace in other branches
  1. 7.2 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 40
Contains RestfulAuthenticationTestCase.

Class

RestfulAuthenticationTestCase
@file Contains RestfulAuthenticationTestCase.

Code

function tearDown() {

  // Put back the $_SERVER array.
  $_SERVER = $this->originalServer;
  parent::tearDown();
}