public function testItChangeColumnAppNameAndAppVersionSuccessfully(): void
{ $this->connection->
executeStatement('DELETE FROM webhook_event_log'
);
$context = Context::
createDefaultContext();
$webhookEventId = Uuid::
randomHex();
$webhookId = Uuid::
randomHex();
$webhookEventMessage =
new WebhookEventMessage($webhookEventId,
[], null,
$webhookId, '6.4', 'http://test.com', null, Defaults::LANGUAGE_SYSTEM, 'en-GB'
);
$webhookEventLogRepo =
$this->
getContainer()->
get('webhook_event_log.repository'
);
$webhookEventLogRepo->
create([[ 'id' =>
$webhookEventId,
'deliveryStatus' => WebhookEventLogDefinition::STATUS_QUEUED,
'webhookName' => 'webhookName',
'eventName' => 'eventName',
'url' => 'http://test.com',
'serializedWebhookMessage' =>
serialize($webhookEventMessage),
]],
$context);