diff --git a/tests/Feature/Api/TicketApiTest.php b/tests/Feature/Api/TicketApiTest.php index 5015a28..937efab 100644 --- a/tests/Feature/Api/TicketApiTest.php +++ b/tests/Feature/Api/TicketApiTest.php @@ -233,8 +233,8 @@ class TicketApiTest extends TestCase Queue::assertPushed(DeliverNotificationAction::class, function (DeliverNotificationAction $job) use ($notificationAction): bool { return $job->notificationActionId === $notificationAction->id - && $job->payload->ticketKey === 'CORE-1' - && $job->payload->toStatusLabel === 'Doing' + && $job->event->payload()->ticketKey === 'CORE-1' + && $job->event->payload()->toStatusLabel === 'Doing' && $job->notificationDeliveryLogId !== null; }); diff --git a/tests/Feature/Mcp/KanbanGitMcpTest.php b/tests/Feature/Mcp/KanbanGitMcpTest.php index 1a44e9b..f5dde21 100644 --- a/tests/Feature/Mcp/KanbanGitMcpTest.php +++ b/tests/Feature/Mcp/KanbanGitMcpTest.php @@ -359,8 +359,8 @@ class KanbanGitMcpTest extends TestCase Queue::assertPushed(DeliverNotificationAction::class, function (DeliverNotificationAction $job) use ($notificationAction): bool { return $job->notificationActionId === $notificationAction->id - && $job->payload->ticketKey === 'CORE-1' - && $job->payload->toStatusLabel === 'Doing' + && $job->event->payload()->ticketKey === 'CORE-1' + && $job->event->payload()->toStatusLabel === 'Doing' && $job->notificationDeliveryLogId !== null; });