You are here

public function SettingsTest::providerTestGetHashSaltEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 102
Contains \Drupal\Tests\Core\Site\SettingsTest.

Class

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

Namespace

Drupal\Tests\Core\Site

Code

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