You are here

public function SettingsHelperTest::testGetFrontEndCredentialSettings in Acquia Lift Connector 8

Tests the getFrontEndCredentialSettings() method.

@covers ::getFrontEndCredentialSettings

@dataProvider providerTestGetFrontEndCredentialSettings

Parameters

array $full_settings:

array $expected_front_end_settings:

File

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

Class

SettingsHelperTest
SettingsHelper Test.

Namespace

Drupal\Tests\acquia_lift\Service\Helper

Code

public function testGetFrontEndCredentialSettings($full_settings, $expected_front_end_settings) {
  $result_front_end_settings = SettingsHelper::getFrontEndCredentialSettings($full_settings);
  $this
    ->assertEquals($expected_front_end_settings, $result_front_end_settings);
}