Fix items not updating when rescheduling abandoned cart email [MAILPOET-2979]
This commit is contained in:
@@ -58,6 +58,12 @@ class SendingTest extends \MailPoetTest {
|
||||
expect($queue->taskId)->equals($this->task->id);
|
||||
}
|
||||
|
||||
public function testItCanBeCreatedFromScheduledTask() {
|
||||
$sending = SendingTask::createFromScheduledTask($this->task);
|
||||
$queue = $sending->queue();
|
||||
expect($queue->taskId)->equals($this->task->id);
|
||||
}
|
||||
|
||||
public function testItCanBeCreatedFromQueue() {
|
||||
$sending = SendingTask::createFromQueue($this->queue);
|
||||
$task = $sending->task();
|
||||
|
Reference in New Issue
Block a user