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