Refactor newsletter data factories to doctrine
[MAILPOET-3627]
This commit is contained in:
@@ -97,7 +97,7 @@ class WooCommercePastRevenues implements Generator {
|
||||
->withPostNotificationHistoryType()
|
||||
->withSegments([$subscribersListEntity])
|
||||
->withCreatedAt($sentAt)
|
||||
->withParentId($postNotification->id)
|
||||
->withParent($postNotification)
|
||||
->create();
|
||||
$sentPostNotifications[] = $this->createSentEmailData($newsletter, $sentAt, $subscribersIds, $subscribersList->id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user