public function IntegrationTests::brokenTestProcessor in Lightweight Directory Access Protocol (LDAP) 8.3
Test the integration of the user processor.
File
- ldap_user/
tests/ src/ Kernel/ IntegrationTests.php, line 47
Class
- IntegrationTests
- Integration tests for ldap_user.
Namespace
Drupal\Tests\ldap_user\KernelCode
public function brokenTestProcessor() {
$processor = new DrupalUserProcessor();
$result = $processor
->provisionDrupalAccount([
'name' => 'hpotter',
]);
$user = $processor
->getUserAccount();
// @TODO: Inject a server configuration for the provisioning server,
// override the server factory to provide a dummy server.
$this
->assertInstanceOf('\\Drupal\\user\\Entity\\User', $user);
// @TODO: Amend test scenario to user update, user insert, user delete.
// @TODO: Amend test scenario to log user in, i.e. drupalUserLogsIn().
}