mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
220cbb7f91
1 changed files with 10 additions and 0 deletions
|
@ -53,11 +53,21 @@ class phpbb_auth_provider_ldap_test extends phpbb_database_test_case
|
||||||
*/
|
*/
|
||||||
public function test_init()
|
public function test_init()
|
||||||
{
|
{
|
||||||
|
if (!extension_loaded('ldap'))
|
||||||
|
{
|
||||||
|
$this->markTestSkipped('LDAP extension not available.');
|
||||||
|
}
|
||||||
|
|
||||||
$this->assertFalse($this->provider->init());
|
$this->assertFalse($this->provider->init());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_login()
|
public function test_login()
|
||||||
{
|
{
|
||||||
|
if (!extension_loaded('ldap'))
|
||||||
|
{
|
||||||
|
$this->markTestSkipped('LDAP extension not available.');
|
||||||
|
}
|
||||||
|
|
||||||
$username = 'admin';
|
$username = 'admin';
|
||||||
$password = 'adminadmin';
|
$password = 'adminadmin';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue