From 2600bdf9d69e1134da2ca0d515a88f5c26225e06 Mon Sep 17 00:00:00 2001 From: Koda Date: Sat, 25 Apr 2026 22:01:59 +0000 Subject: [PATCH] Polish notification event naming consistency in tests --- tests/Feature/Notifications/DeliverNotificationActionTest.php | 2 +- .../TicketStatusChangedNotificationDispatchTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/Notifications/DeliverNotificationActionTest.php b/tests/Feature/Notifications/DeliverNotificationActionTest.php index 2302832..d693f5a 100644 --- a/tests/Feature/Notifications/DeliverNotificationActionTest.php +++ b/tests/Feature/Notifications/DeliverNotificationActionTest.php @@ -127,7 +127,7 @@ class DeliverNotificationActionTest extends TestCase (new DeliverNotificationAction( notificationActionId: $notificationAction->id, - payload: $this->payload(), + event: $this->event(), notificationDeliveryLogId: $deliveryLog->id, ))->handle(); diff --git a/tests/Feature/Notifications/TicketStatusChangedNotificationDispatchTest.php b/tests/Feature/Notifications/TicketStatusChangedNotificationDispatchTest.php index 1b822c6..32893e7 100644 --- a/tests/Feature/Notifications/TicketStatusChangedNotificationDispatchTest.php +++ b/tests/Feature/Notifications/TicketStatusChangedNotificationDispatchTest.php @@ -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,