You are here

function LdapAuthenticationTestCase::tearDown in Lightweight Directory Access Protocol (LDAP) 7

Same name and namespace in other branches
  1. 8.2 ldap_authentication/tests/ldap_authentication.test \LdapAuthenticationTestCase::tearDown()
  2. 7.2 ldap_authentication/tests/ldap_authentication.test \LdapAuthenticationTestCase::tearDown()

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

Overrides DrupalWebTestCase::tearDown

File

ldap_authentication/tests/ldap_authentication.test, line 32

Class

LdapAuthenticationTestCase

Code

function tearDown() {
  parent::tearDown();
  variable_del('ldap_help_watchdog_detail');
  variable_del('ldap_simpletest');
}