You are here

protected function DomainContentTestBase::setUp in Domain Access 8

Overrides DomainTestBase::setUp

File

domain_content/tests/src/Functional/DomainContentTestBase.php, line 30

Class

DomainContentTestBase
Base class and helper methods for testing domain content.

Namespace

Drupal\Tests\domain_content\Functional

Code

protected function setUp() {
  parent::setUp();

  // Create five test domains.
  $this
    ->domainCreateTestDomains(5);
  $this->domains = \Drupal::entityTypeManager()
    ->getStorage('domain')
    ->loadMultiple();
}