You are here

public function SettingsTest::testGetHashSalt in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::testGetHashSalt()
  2. 9 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\Site

Code

public function testGetHashSalt() {
  $this
    ->assertSame($this->config['hash_salt'], $this->settings
    ->getHashSalt());
}