Commit Graph

6 Commits

Author SHA1 Message Date
eb07872d13 Disable segments validation when form ID is empty
[MAILPOET-4155]
2022-04-11 15:30:48 +02:00
17f562a9c5 Remove last usages of Subscriber model from the Pages class
[MAILPOET-4020]
2022-04-04 16:24:21 +02:00
794c7eb16f Improve test coverage for ManageSubscriptionFormRenderer
This commits improves the test coverage for
ManageSubscriptionFormRenderer by creating two custom fields for the
test subscriber and checking that those custom fields are included in
the output returned by ManageSubscriptionFormRenderer::renderForm().

[MAILPOET-4020]
2022-04-04 16:24:21 +02:00
ee4df28cc3 Fix a bug in ManageSubscriptionFormRendererTest
The test class ManageSubscriptionFormRendererTest creates a subscriber
with a segment. But when calling $this->formRenderer->renderForm(), it
was passing the subscriber without information about its segments. This
meant that the output returned by renderForm() wrongly had the list of
segments without the subscriber segment checked.

This commit fixes this problem by passing the subscriber with the
segments to renderForm() and changing the expected HTML that should be
returned.

[MAILPOET-4020]
2022-04-04 16:24:21 +02:00
ff9e1dc6be Update a string displayed in the manage subscriptions page
Change to make the meaning of the sentence more clear.

[MAILPOET-4068]
2022-02-09 16:34:18 +01:00
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00