public function DomainTestTrait::setBaseHostname in Domain Access 8
Set the base hostname for this test.
3 calls to DomainTestTrait::setBaseHostname()
- DomainConfigUIOverrideTest::setUp in domain_config_ui/
tests/ src/ FunctionalJavascript/ DomainConfigUIOverrideTest.php - DomainConfigUiSavedConfigTest::setUp in domain_config_ui/
tests/ src/ FunctionalJavascript/ DomainConfigUiSavedConfigTest.php - DomainConfigUISettingsTest::setUp in domain_config_ui/
tests/ src/ FunctionalJavascript/ DomainConfigUISettingsTest.php
File
- domain/
tests/ src/ Traits/ DomainTestTrait.php, line 139
Class
- DomainTestTrait
- Contains helper classes for tests to set up various configuration.
Namespace
Drupal\Tests\domain\TraitsCode
public function setBaseHostname() {
$this->baseHostname = \Drupal::entityTypeManager()
->getStorage('domain')
->createHostname();
$this
->setBaseTLD();
}