summaryrefslogtreecommitdiff
path: root/tests/units/Group/LdapBackendGroupProviderTest.php
blob: 67b5ef3515546d97d9aa5d72c122fd353c718071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

require_once __DIR__.'/../Base.php';

use Kanboard\Group\LdapBackendGroupProvider;

class LdapBackendGroupProviderTest extends Base
{
    public function testGetLdapGroupPattern()
    {
        $this->setExpectedException('LogicException', 'LDAP group filter empty, check the parameter LDAP_GROUP_FILTER');

        $backend = new LdapBackendGroupProvider($this->container);
        $backend->getLdapGroupPattern('test');
    }
}