Fix inconsistency between automation run and run log statuses

[MAILPOET-5568]
This commit is contained in:
Jan Jakes
2023-08-31 14:49:17 +02:00
committed by Aschepikov
parent d7addd8e55
commit d8afb42d89
4 changed files with 7 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ class AutomationRunLogStorageTest extends \MailPoetTest {
'after' => new \DateTimeImmutable('2020-01-01 00:00:00'),
'before' => new \DateTimeImmutable('2020-01-02 00:00:00'),
];
$status = AutomationRunLog::STATUS_COMPLETED;
$status = AutomationRunLog::STATUS_COMPLETE;
$automationId = 1;
$this->storage->truncate();