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