You are here

public function LdapAuthenticationTestCase::testInstall 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::testInstall()
  2. 7 ldap_authentication/tests/ldap_authentication.test \LdapAuthenticationTestCase::testInstall()

Difficult to test install and uninstall since setUp does module enabling and installing.

File

ldap_authentication/tests/ldap_authentication.test, line 63

Class

LdapAuthenticationTestCase
LdapAuthenticationTestCase.

Code

public function testInstall() {
  $testid = $this->module_name . ': setup success';
  $setup_success = module_exists('ldap_authentication') && module_exists('ldap_servers');
  $this
    ->assertTrue($setup_success, ' ldap_authentication setup successful', $testid);
}