public function DomainAccessEntityCrudTest::testUserCreateWithUninstalledDomainAccessFields in Domain Access 8
Tests user creation with uninstalled domain access fields.
File
- domain_access/
tests/ src/ Kernel/ DomainAccessEntityCrudTest.php, line 139
Class
- DomainAccessEntityCrudTest
- Tests creation of nodes and users before and after deleting required fields.
Namespace
Drupal\Tests\domain_access\KernelCode
public function testUserCreateWithUninstalledDomainAccessFields() {
$this
->deleteDomainAccessFields('user', 'user');
$user = $this
->drupalCreateUser();
$user
->save();
self::assertNotEmpty($user
->id());
}