private function InspectorJsTest::getActualJSCredentialSettings in Acquia Lift Connector 8.3
Same name and namespace in other branches
- 8.4 modules/acquia_lift_inspector/tests/src/FunctionalJavascript/InspectorJsTest.php \Drupal\Tests\acquia_lift_inspector\FunctionalJavascript\InspectorJsTest::getActualJSCredentialSettings()
Get a valid credential settings array.
Return value
array A valid credential settings array.
1 call to InspectorJsTest::getActualJSCredentialSettings()
- InspectorJsTest::testShowDebug in modules/
acquia_lift_inspector/ tests/ src/ FunctionalJavascript/ InspectorJsTest.php - Tests JS interactions in the admin UI.
File
- modules/
acquia_lift_inspector/ tests/ src/ FunctionalJavascript/ InspectorJsTest.php, line 50
Class
- InspectorJsTest
- Tests for the JS that transforms widgets into form elements.
Namespace
Drupal\Tests\acquia_lift_inspector\FunctionalJavascriptCode
private function getActualJSCredentialSettings() {
return [
'account_id' => 'AccountId1',
'site_id' => 'SiteId1',
// Only the JS needs to be valid. Otherwise the JS test won't work.
'assets_url' => 'https://lift3assets.dev.lift.acquia.com/latest',
'decision_api_url' => 'decision_api_url_1',
'oauth_url' => 'oauth_url_1//////authorize',
];
}