function LdapTestFunctions::setFakeServerProperty in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_test/LdapTestFunctions.class.php \LdapTestFunctions::setFakeServerProperty()
- 7.2 ldap_test/LdapTestFunctions.class.php \LdapTestFunctions::setFakeServerProperty()
File
- ldap_servers/
tests/ LdapTestFunctions.class.php, line 48 - LdapTestCase.class.php
Class
Code
function setFakeServerProperty($sid, $prop, $value) {
$test_data = variable_get('ldap_test_server__' . $sid, array());
$test_data['properties'][$prop] = $value;
variable_set('ldap_test_server__' . $sid, $test_data);
}