mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'w04_MDL-37499_m25_authldaptest' of git://github.com/skodak/moodle
This commit is contained in:
commit
37c68301f9
2 changed files with 284 additions and 1 deletions
|
@ -58,7 +58,7 @@ class enrol_ldap_testcase extends advanced_testcase {
|
|||
// Make sure we can connect the server.
|
||||
$debuginfo = '';
|
||||
if (!$connection = ldap_connect_moodle(TEST_ENROL_LDAP_HOST_URL, 3, 'rfc2307', TEST_ENROL_LDAP_BIND_DN, TEST_ENROL_LDAP_BIND_PW, LDAP_DEREF_NEVER, $debuginfo, false)) {
|
||||
$this->markTestSkipped('Can not connect to LDAP test server.');
|
||||
$this->markTestSkipped('Can not connect to LDAP test server: '.$debuginfo);
|
||||
}
|
||||
|
||||
$this->enable_plugin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue