function SettingsTest::testGetHashSalt
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetHashSalt()
- 10 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetHashSalt()
- 11.x core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetHashSalt()
Tests Settings::getHashSalt().
@covers ::getHashSalt
File
-
core/
tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php, line 77
Class
- SettingsTest
- @coversDefaultClass \Drupal\Core\Site\Settings @runTestsInSeparateProcesses @group Site
Namespace
Drupal\Tests\Core\SiteCode
public function testGetHashSalt() {
$this->assertSame($this->config['hash_salt'], $this->settings
->getHashSalt());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.