public function SettingsTest::providerTestGetHashSaltEmpty in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::providerTestGetHashSaltEmpty()
- 9 core/tests/Drupal/Tests/Core/Site/SettingsTest.php \Drupal\Tests\Core\Site\SettingsTest::providerTestGetHashSaltEmpty()
Data provider for testGetHashSaltEmpty.
Return value
array
File
- core/tests/ Drupal/ Tests/ Core/ Site/ SettingsTest.php, line 100 
Class
- SettingsTest
- @coversDefaultClass \Drupal\Core\Site\Settings @runTestsInSeparateProcesses @group Site
Namespace
Drupal\Tests\Core\SiteCode
public function providerTestGetHashSaltEmpty() {
  return [
    [
      [],
    ],
    [
      [
        'hash_salt' => '',
      ],
    ],
    [
      [
        'hash_salt' => NULL,
      ],
    ],
  ];
}