public function LdapAuthorizationProviderIntegrationTest::setUp in Lightweight Directory Access Protocol (LDAP) 8.4
Setup of kernel tests.
Overrides KernelTestBase::setUp
File
- ldap_authorization/
tests/ src/ Kernel/ LdapAuthorizationProviderIntegrationTest.php, line 43
Class
- LdapAuthorizationProviderIntegrationTest
- Integration tests for LdapAuthorizationProvider.
Namespace
Drupal\Tests\ldap_authorization\KernelCode
public function setUp() : void {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installConfig([
'field',
'text',
]);
$this->consumerPlugin = $this
->getMockBuilder(DrupalRolesConsumer::class)
->setMethods(NULL)
->disableOriginalConstructor()
->getMock();
}