Polish notification event naming consistency in tests
linter / quality (pull_request) Successful in 1m19s
tests / ci (8.4) (pull_request) Failing after 1m37s

This commit is contained in:
2026-04-25 22:01:59 +00:00
parent 61505ace23
commit 2600bdf9d6
2 changed files with 2 additions and 2 deletions
@@ -127,7 +127,7 @@ class DeliverNotificationActionTest extends TestCase
(new DeliverNotificationAction( (new DeliverNotificationAction(
notificationActionId: $notificationAction->id, notificationActionId: $notificationAction->id,
payload: $this->payload(), event: $this->event(),
notificationDeliveryLogId: $deliveryLog->id, notificationDeliveryLogId: $deliveryLog->id,
))->handle(); ))->handle();
@@ -82,7 +82,7 @@ class TicketStatusChangedNotificationDispatchTest extends TestCase
'project_id' => $project->id, 'project_id' => $project->id,
'name' => 'Wrong event', 'name' => 'Wrong event',
'enabled' => true, 'enabled' => true,
'event_type' => 'ticket_created', 'event_type' => NotificationEventType::TicketCreate->value,
'channel' => NotificationChannel::Webhook->value, 'channel' => NotificationChannel::Webhook->value,
'channel_configuration' => json_encode([]), 'channel_configuration' => json_encode([]),
'message_template' => null, 'message_template' => null,