Remove segment as a required subject
If a segment is given, the subscriber needs to be subscribed to it, otherwise the subscriber only needs to be globally subscribed [MAILPOET-5514]
This commit is contained in:
@@ -67,7 +67,7 @@ class SendEmailActionTest extends \MailPoetTest {
|
||||
}
|
||||
|
||||
public function testItReturnsRequiredSubjects() {
|
||||
$this->assertSame(['mailpoet:segment', 'mailpoet:subscriber'], $this->action->getSubjectKeys());
|
||||
$this->assertSame(['mailpoet:subscriber'], $this->action->getSubjectKeys());
|
||||
}
|
||||
|
||||
public function testItIsNotValidIfStepHasNoEmail(): void {
|
||||
|
Reference in New Issue
Block a user