LdapAuthorizationProviderIntegrationTest.php in Lightweight Directory Access Protocol (LDAP) 8.4
File
ldap_authorization/tests/src/Kernel/LdapAuthorizationProviderIntegrationTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\ldap_authorization\Kernel;
use Drupal\authorization_drupal_roles\Plugin\authorization\Consumer\DrupalRolesConsumer;
use Drupal\KernelTests\KernelTestBase;
class LdapAuthorizationProviderIntegrationTest extends KernelTestBase {
protected static $modules = [
'user',
'system',
'field',
'text',
'filter',
'entity_test',
'authorization',
'ldap_servers',
'ldap_authorization',
'externalauth',
];
protected $consumerPlugin;
public function setUp() : void {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installConfig([
'field',
'text',
]);
$this->consumerPlugin = $this
->getMockBuilder(DrupalRolesConsumer::class)
->setMethods(NULL)
->disableOriginalConstructor()
->getMock();
}
public function testProvider() : void {
self::markTestIncomplete('Test missing');
}
}