You are here

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

Same name and namespace in other branches
  1. 8.2 ldap_authentication/tests/ldap_authentication.test \LdapAuthenticationTestCase::tearDown()
  2. 7 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 LdapTestCase::tearDown

File

ldap_authentication/tests/ldap_authentication.test, line 54

Class

LdapAuthenticationTestCase
LdapAuthenticationTestCase.

Code

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