Add ticket create notification event support #65

Merged
Twyco merged 6 commits from koda/ticket-create-notification-action into main 2026-04-29 10:34:17 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2600bdf9d6 - Show all commits
@@ -127,7 +127,7 @@ class DeliverNotificationActionTest extends TestCase
(new DeliverNotificationAction(
notificationActionId: $notificationAction->id,
payload: $this->payload(),
event: $this->event(),
notificationDeliveryLogId: $deliveryLog->id,
))->handle();
@@ -82,7 +82,7 @@ class TicketStatusChangedNotificationDispatchTest extends TestCase
'project_id' => $project->id,
'name' => 'Wrong event',
'enabled' => true,
'event_type' => 'ticket_created',
'event_type' => NotificationEventType::TicketCreate->value,
'channel' => NotificationChannel::Webhook->value,
'channel_configuration' => json_encode([]),
'message_template' => null,