You are here

public function LdapUserUnitTests::setUp in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_user/tests/ldap_user.test \LdapUserUnitTests::setUp()

Create one or more server configurations in such as way that this setUp can be a prerequisite for ldap_authentication and ldap_authorization.

Overrides LdapTestCase::setUp

File

ldap_user/tests/ldap_user.test, line 42

Class

LdapUserUnitTests

Code

public function setUp() {
  parent::setUp([
    'ldap_servers',
    'ldap_user',
    'ldap_authentication',
    'ldap_test',
  ]);
  variable_set('ldap_simpletest', 2);
}