Skip to content

Commit

Permalink
Merge branch '3.3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed May 3, 2020
2 parents 0d8a406 + 6fc6e7c commit 220cbb7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/auth/provider_ldap_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,21 @@ public function getDataSet()
*/
public function test_init()
{
if (!extension_loaded('ldap'))
{
$this->markTestSkipped('LDAP extension not available.');
}

$this->assertFalse($this->provider->init());
}

public function test_login()
{
if (!extension_loaded('ldap'))
{
$this->markTestSkipped('LDAP extension not available.');
}

$username = 'admin';
$password = 'adminadmin';

Expand Down

0 comments on commit 220cbb7

Please sign in to comment.