function SettingsTest::setUp
@covers ::__construct
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php, line 35
Class
- SettingsTest
- @coversDefaultClass \Drupal\Core\Site\Settings[[api-linebreak]] @runTestsInSeparateProcesses @group Site
Namespace
Drupal\Tests\Core\SiteCode
protected function setUp() : void {
$this->config = [
'one' => '1',
'two' => '2',
'hash_salt' => $this->randomMachineName(),
];
$this->settings = new Settings($this->config);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.