public function ContentHubClientMock::getWebHooks in Acquia Content Hub 8.2
File
- tests/
modules/ acquia_contenthub_server_test/ src/ Client/ ContentHubClientMock.php, line 129
Class
- ContentHubClientMock
- Mocks server responses.
Namespace
Drupal\acquia_contenthub_server_test\ClientCode
public function getWebHooks() {
return [
new Webhook([
'uuid' => '4e68da2e-a729-4c81-9c16-e4f8c05a11be',
'client_uuid' => 'valid_client_uuid',
'client_name' => 'client',
'url' => 'http://example.com/acquia-contenthub/webhook',
'version' => 2,
'disable_retries' => 'false',
'filters' => [
'valid_filter_uuid_1',
'valid_filter_uuid_2',
'valid_filter_uuid_3',
],
'status' => 'ENABLED',
'is_migrated' => FALSE,
'suppressed_until' => 0,
]),
];
}