You are here

public function SimpleLdapServerTest::searchDataProvider in Simple LDAP 8

File

tests/src/Unit/SimpleLdapServerTest.php, line 154
Contains \Drupal\Tests\simple_ldap\Unit\SimpleLdapServer

Class

SimpleLdapServerTest
@coversDefaultClass \Drupal\simple_ldap\SimpleLdapServer @group simple_ldap

Namespace

Drupal\Tests\simple_ldap\Unit

Code

public function searchDataProvider() {
  return array(
    array(
      array(
        'returned_value_1',
        'returned_value_2',
      ),
      'base',
      'ldapRead',
    ),
    array(
      array(
        'returned_value_1',
        'returned_value_2',
      ),
      'one',
      'ldapList',
    ),
    array(
      array(
        'returned_value_1',
        'returned_value_2',
      ),
      'sub',
      'ldapSearch',
    ),
  );
}