You are here

public function SettingsHelperTest::providerTestGetFrontEndCredentialSettings in Acquia Lift Connector 8

Data provider for testGetFrontEndCredentialSettings().

File

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

Class

SettingsHelperTest
SettingsHelper Test.

Namespace

Drupal\Tests\acquia_lift\Service\Helper

Code

public function providerTestGetFrontEndCredentialSettings() {
  $data = [];
  $valid_settings = $this
    ->getValidCredentialSettings();
  $valid_front_end_settings = $this
    ->getValidFrontEndCredentialSettings();
  $data['valid data 1'] = [
    $valid_settings,
    $valid_front_end_settings,
  ];
  $data['valid data 2'] = [
    $valid_settings,
    $valid_front_end_settings,
  ];
  $data['valid data 2'][0]['account_name'] = 'account_name_2';
  $data['valid data 2'][1]['account_name'] = 'account_name_2';
  $data['valid data 2'][0]['customer_site'] = '';
  $data['valid data 2'][1]['customer_site'] = '';
  $data['valid data 2'][0]['js_path'] = 'js_path_2';
  $data['valid data 2'][1]['js_path'] = 'js_path_2';
  return $data;
}