public function ReExportTest::createAcquiaContentHubAdminSettings in Acquia Content Hub 8.2
Get Acquia Content Hub settings.
Return value
mixed Acquia Content Hub admin settings.
1 call to ReExportTest::createAcquiaContentHubAdminSettings()
- ReExportTest::setUp in modules/
acquia_contenthub_publisher/ tests/ src/ Kernel/ EventSubscriber/ HandleWebhook/ ReExportTest.php
File
- modules/
acquia_contenthub_publisher/ tests/ src/ Kernel/ EventSubscriber/ HandleWebhook/ ReExportTest.php, line 160
Class
- ReExportTest
- Tests Re-export functionality from a Webhook.
Namespace
Drupal\Tests\acquia_contenthub_publisher\Kernel\EventSubscriber\HandleWebhookCode
public function createAcquiaContentHubAdminSettings() {
$admin_settings = $this->configFactory
->getEditable('acquia_contenthub.admin_settings');
return $admin_settings
->set('client_name', 'test-client')
->set('origin', '00000000-0000-0001-0000-123456789123')
->set('api_key', 'HqkhciruZhJxg6b844wc')
->set('secret_key', 'u8Pk4dTaeBWpRxA9pBvPJfru8BFSenKZi79CBKkk')
->set('hostname', 'https://dev-use1.content-hub-dev.acquia.com')
->set('shared_secret', '12312321312321')
->set('send_contenthub_updates', FALSE)
->save();
}