You are here

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\Kernel

Code

public function testNodeCreateWithInstalledDomainAccessFields() {
  $node = $this
    ->drupalCreateNode();
  $node
    ->save();
  self::assertNotEmpty($node
    ->id());
}