You are here

protected function DomainConfigAlterHookTest::setUp in Domain Access 8

Test setup.

Overrides DomainConfigTestBase::setUp

File

domain_config/tests/src/Functional/DomainConfigAlterHookTest.php, line 48

Class

DomainConfigAlterHookTest
Tests for https://www.drupal.org/node/2896434#comment-12265088.

Namespace

Drupal\Tests\domain_config\Functional

Code

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

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

  // Get the services.
  $this->negotiator = \Drupal::service('domain.negotiator');
  $this->moduleHandler = \Drupal::service('module_handler');
}