You are here

protected function DomainVariableSchemeTest::setUp in Domain Access 8

Test setup.

Overrides KernelTestBase::setUp

File

domain/tests/src/Kernel/DomainVariableSchemeTest.php, line 51

Class

DomainVariableSchemeTest
Tests the ability to set a variable scheme on a domain.

Namespace

Drupal\Tests\domain\Kernel

Code

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

  // Create a domain.
  $this
    ->domainCreateTestDomains();

  // Get the services.
  $this->domainStorage = \Drupal::entityTypeManager()
    ->getStorage('domain');
}