Store run subjects in extra table

[MAILPOET-4966]
This commit is contained in:
David Remer
2023-02-15 08:44:17 +02:00
committed by Aschepikov
parent d406e7c05e
commit c4faa53386
6 changed files with 152 additions and 21 deletions

View File

@ -187,7 +187,7 @@ class AutomationStatisticsStorageTest extends \MailPoetTest {
'automation_id' => $automation->getId(),
'version_id' => $automation->getVersionId(),
'trigger_key' => '',
'subjects' => "[]",
'subjects' => [],
'id' => 0,
'status' => $status,
'created_at' => (new \DateTimeImmutable())->format(\DateTimeImmutable::W3C),