You are here

public function SettingsHelperTest::testGetFrontEndCredentialSettingsException in Acquia Lift Connector 8

Tests the getFrontEndCredentialSettings() method's Exception.

@covers ::getFrontEndCredentialSettings

@dataProvider providerTestGetFrontEndCredentialSettingsException @expectedException \Drupal\acquia_lift\Exception\MissingSettingsException @expectedExceptionMessage Cannot generate front-end credential settings because some settings are missing.

Parameters

array $incomplete_settings:

File

tests/src/Unit/Service/Helper/SettingsHelperTest.php, line 73
Contains \Drupal\Tests\acquia_lift\Service\Helper\SettingsHelperTest.

Class

SettingsHelperTest
SettingsHelper Test.

Namespace

Drupal\Tests\acquia_lift\Service\Helper

Code

public function testGetFrontEndCredentialSettingsException($incomplete_settings) {
  SettingsHelper::getFrontEndCredentialSettings($incomplete_settings);
}