function LdapTestFunctions::prepTestServers in Lightweight Directory Access Protocol (LDAP) 7
1 call to LdapTestFunctions::prepTestServers()
- LdapTestFunctions::prepTestConfiguration in ldap_servers/
tests/ LdapTestFunctions.class.php
File
- ldap_servers/
tests/ LdapTestFunctions.class.php, line 39 - LdapTestCase.class.php
Class
Code
function prepTestServers($servers, $feetures = FALSE, $feature_name = NULL) {
$current_sids = array();
foreach ($servers as $sid => $server_data) {
$current_sids[$sid] = $sid;
variable_set('ldap_test_server__' . $sid, $server_data);
}
variable_set('ldap_test_servers', $current_sids);
}