David Remer
3ce6a83789
Test legacy emails are transactional
...
[MAILPOET-6115]
2024-07-01 13:01:30 +02:00
David Remer
fd0d1036e6
Add isTransactional method to NewsletterEntity
...
[MAILPOET-6115]
2024-07-01 13:01:30 +02:00
Rostislav Wolny
4734aafef5
Mark WpPostEntity as read-only
...
Read-only was added to prevent using the entity for modifying post
data.
We want to allow modifying posts only via WP functions so that we don't skip any hooks etc.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Jan Jakes
bb29f25c40
Remove simple usages of MailPoet\Tasks\Sending from integration tests
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Rodrigo Primo
d4a80c7230
Move SendingQueueEntity::toArray() to SendingQueuesResponseBuilder::build()
...
Based on a suggestion during the review of the PR, it was decided that
it makes more sense for the code that was created as
SendingQueueEntity::toArray() tp be moved to
SendingQueuesResponseBuilder::build(). It is used only to build the
format that is send in the API response.
[MAILPOET-4368]
2023-10-25 21:09:39 +02:00
Rodrigo Primo
dc1cee5118
Replace Newsletter model with NewsletterEntity in SendingQueue
...
This was the easiest way to fix failing integration tests related to
updating some Sending methods to use Doctrine instead of Paris. Using
Paris in SendingQueue to update the database was creating a state where
Doctrine had stale data and this was causing the tests to fail.
[MAILPOET-4368]
2023-10-25 21:09:39 +02:00
Rodrigo Primo
525495409c
Replace expect()->notNull() with verify()->notNull()
...
codeception/verify 2.1 removed support for expect()->notNull() so we need
to replace it with verify()->notNull().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
9b56fdc688
Replace expect()->count() with verify()->arrayCount()
...
codeception/verify 2.1 removed support for expect()->count() so we need
to replace it with verify()->arrayCount().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
5d839277d6
Replace expect()->same() with verify()->same()
...
codeception/verify 2.1 removed support for expect()->same() so we need
to replace it with verify()->same().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
709be1d541
Replace expect()->null() with verify()->null()
...
codeception/verify 2.1 removed support for expect()->null() so we need
to replace it with verify()->null().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22
Replace expect()->equals() with verify()->equals()
...
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
John Oleksowicz
c09409e1de
Replace manual option field creation with factory
...
MAILPOET-5161
2023-10-23 17:40:54 +02:00
John Oleksowicz
b19d067aa0
Make newsletters inherit filter segment ID
...
MAILPOET-5511
2023-10-03 13:09:11 +02:00
John Oleksowicz
5b39092cb6
Add newsletter option for filter segment id
...
MAILPOET-5509
2023-08-31 14:16:10 +02:00
John Oleksowicz
c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Jan Jakes
c67c58709b
Unify spacing of declare statements
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
3d24cb1deb
Fix Generic.Classes.DuplicateClassName.Found
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
d2ec7bba42
Replace instance_of asserts in integration tests
...
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Rodrigo Primo
6e399a5842
Replace getSubscribedSegments() with a new getSubscriberSegments() parameter
...
After the PR review, we decided to add a new $status parameter to
getSubscriberSegments() instead of creating getSubscribedSegments().
[MAILPOET-4365]
2022-09-19 13:35:39 +02:00
Rodrigo Primo
de6a0b4790
Add method to get segments that a subscriber is subscribed to
...
[MAILPOET-4365]
2022-09-19 13:35:39 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00