You are here

protected function DomainMenuAccessInstallTest::setUp in Domain Menu Access 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/DomainMenuAccessInstallTest.php, line 42

Class

DomainMenuAccessInstallTest
Test installation of domain_menu_access module.

Namespace

Drupal\Tests\domain_menu_access\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->configFactory = $this->container
    ->get('config.factory');
  $this->domainStorage = $this->container
    ->get('entity_type.manager')
    ->getStorage('domain');
  $this
    ->domainCreateTestDomains(1, 'example');
}