private function SettingsDataTrait::getValidCredentialSettings in Acquia Lift Connector 8
Same name in this branch
- 8 src/Tests/SettingsDataTrait.php \Drupal\acquia_lift\Tests\SettingsDataTrait::getValidCredentialSettings()
- 8 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidCredentialSettings()
Same name and namespace in other branches
- 8.4 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidCredentialSettings()
- 8.3 tests/src/Unit/Traits/SettingsDataTrait.php \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait::getValidCredentialSettings()
Get a valid credential settings array.
Return value
array A valid credential settings array.
7 calls to SettingsDataTrait::getValidCredentialSettings()
- HelpMessageHelperTest::testGetMessageAdminSettingsFormFullSettings in tests/
src/ Unit/ Service/ Helper/ HelpMessageHelperTest.php - Tests the getMessage() method - AdminSettingsForm, full settings.
- HelpMessageHelperTest::testGetMessageAdminSettingsFormNoApiUrl in tests/
src/ Unit/ Service/ Helper/ HelpMessageHelperTest.php - Tests the getMessage() method - AdminSettingsForm, no API URL setting.
- PathContextTest::testGetIdentity in tests/
src/ Unit/ Service/ Context/ PathContextTest.php - Tests the getIdentity() method.
- PathContextTest::testShouldAttach in tests/
src/ Unit/ Service/ Context/ PathContextTest.php - Tests the shouldAttach() method.
- SettingsHelperTest::providerTestGetFrontEndCredentialSettings in tests/
src/ Unit/ Service/ Helper/ SettingsHelperTest.php - Data provider for testGetFrontEndCredentialSettings().
File
- tests/
src/ Unit/ Traits/ SettingsDataTrait.php, line 20 - Contains \Drupal\Tests\acquia_lift\Unit\Traits\SettingsDataTrait.
Class
- SettingsDataTrait
- Settings Data Trait.
Namespace
Drupal\Tests\acquia_lift\Unit\TraitsCode
private function getValidCredentialSettings() {
return [
'account_name' => 'account_name_1',
'customer_site' => 'customer_site_1',
'api_url' => 'api_url_1',
'access_key' => 'access_key_1',
'secret_key' => 'secret_key_1',
'js_path' => 'js_path_1',
];
}