protected function SimpleLdapUserManagerTest::setUpDrupalUserTests in Simple LDAP 8
Helper method for testCreateDrupalUser() and testLoadDrupalUser().
1 call to SimpleLdapUserManagerTest::setUpDrupalUserTests()
- SimpleLdapUserManagerTest::testLoadDrupalUser in modules/
simple_ldap_user/ tests/ src/ Unit/ SimpleLdapUserManagerTest.php - @covers ::loadDrupalUser @depends testGetLdapUser
File
- modules/
simple_ldap_user/ tests/ src/ Unit/ SimpleLdapUserManagerTest.php, line 200 - Contains \Drupal\Tests\simple_ldap\Unit\SimpleLdapUserManagerTest
Class
- SimpleLdapUserManagerTest
- @coversDefaultClass \Drupal\simple_ldap_user\SimpleLdapUserManager @group simple_ldap
Namespace
Drupal\Tests\simple_ldap\UnitCode
protected function setUpDrupalUserTests() {
$this->config
->expects($this
->exactly(2))
->method('get')
->withConsecutive([
'name_attribute',
], [
'mail_attribute',
])
->will($this
->onConsecutiveCalls('cn', 'mail'));
}