Pavel Dohnal
7be9ade5f4
Prevent updating WordPress users data
...
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Pavel Dohnal
2a10a5817b
Add a test for non existing subsriber
...
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Pavel Dohnal
2cdb12f712
Add Update Subscrber method to MP API
...
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Oluwaseun Olorunsola
42cc65bda4
Updates tests for subscribeToLists API method
...
MAILPOET-6023
2024-04-24 12:19:08 +01:00
Mike Jolley
0d6fe6e5eb
Apply rules to tests and tasks
2024-03-21 16:57:59 +01:00
Ján Mikláš
4ab52dd83f
Fix tests
...
[MAILPOET-5729]
2023-11-24 08:10:35 +02:00
Jan Jakes
b42d579b67
Remove usages of MailPoet\Tasks\Sending from welcome scheduler
...
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
Rodrigo Primo
fa9236d8c9
Replace expect()->greaterThan() with verify()->greaterThan()
...
codeception/verify 2.1 removed support for expect()->greaterThan() so we need
to replace it with verify()->greaterThan().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
5bc5b5ebd2
Replace expect()->notEmpty() with verify()->notEmpty()
...
codeception/verify 2.1 removed support for expect()->notEmpty() so we need
to replace it with verify()->notEmpty().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
a70067a34c
Replace expect()->hasKey() with verify()->arrayHasKey()
...
codeception/verify 2.1 removed support for expect()->hasKey() so we need
to replace it with verify()->arrayHasKey().
[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
0d2f6e0776
Replace expect()->stringContainsString() with verify()->stringContainsString()
...
codeception/verify 2.1 removed support for expect()->stringContainsString() so we need
to replace it with verify()->stringContainsString().
[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
Rostislav Wolny
f56b58a5fe
Fix warnings and errors in integration tests
...
[PREMIUM-191]
2023-09-22 16:20:11 +02:00
John Oleksowicz
c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Rodrigo Primo
c507229dd2
Add unsubscribe API method
...
It can be used by calling:
```
$mailpoet_api = \MailPoet\API\API::MP('v1');
$mailpoet_api->unsubscribe($subscriberId);
```
[MAILPOET-5152]
2023-03-27 19:25:49 +02:00
Rodrigo Primo
d37b961c2b
Use getServiceWithOverrides() to create an instance of Subscribers
...
By using this helper method, we don't need to change the code that
instantiate Subscribers whenever the class signature changes as it is
going to happen in a subsequent commit.
[MAILPOET-5152]
2023-03-27 19:25:49 +02:00
Jan Jakes
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
David Remer
8c5222d850
Fix WordPress.Security.ValidatedSanitizedInput.InputNotSanitized and related errors
...
[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
Jan Jakes
725e0ecb00
Remove automation feature flag
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
Jan Lysý
8f38dc451e
Add test cases for MP API getSubscribersCount
...
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
Jan Lysý
66000fada4
Add test cases for MP API getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Jan Lysý
296a47f8e7
Add new API method getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
Rostislav Wolny
09f5790120
Move getSubscribers integration test into specific test file
...
[MAILPOET-4295]
2022-09-21 16:02:23 +02:00
Rostislav Wolny
79e11fe939
Move MP API addSubscriber tests under Subscribers class tests
...
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
Rostislav Wolny
2356c62be3
Refactor MP API addSubscriber to doctrine
...
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
Rostislav Wolny
5d3c851d02
Change order of MP API subscribe/unsubscribe calls checks to be backward compatible
...
In the previous version we checked the lists parameter before the subscriber.
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Rostislav Wolny
877fd9d7da
Move MP API unsubscribe from list test to a separate file
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
Jan Lysý
c6d284cb32
Move lists testing to the separate class
...
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
Jan Jakes
86d934ba36
Add hook for segment subscription
...
This will be used for a "SegmentSubscribed" trigger for automation
that can trigger welcome emails and other actions.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00