You are here

public function SettingsTest::providerTestGetHashSaltEmpty in Drupal 9

Same name and namespace in other branches
  1. 8 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 98

Class

SettingsTest
@coversDefaultClass \Drupal\Core\Site\Settings @runTestsInSeparateProcesses @group Site

Namespace

Drupal\Tests\Core\Site

Code

public function providerTestGetHashSaltEmpty() {
  return [
    [
      [],
    ],
    [
      [
        'hash_salt' => '',
      ],
    ],
    [
      [
        'hash_salt' => NULL,
      ],
    ],
  ];
}