0f45727ddc
Add a new test case when verifying creator key with API
...
[MAILPOET-4464]
2022-10-17 12:15:07 +02:00
8f38dc451e
Add test cases for MP API getSubscribersCount
...
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
b96b549f43
Unschedule cron actions before running migrations
...
We don't want to run any actions during migrations.
This will also clean duplicate trigger actions
that were potentially created because of requests race conditions.
[MAILPOET-4684]
2022-10-13 14:21:43 +02:00
66000fada4
Add test cases for MP API getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
296a47f8e7
Add new API method getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
f1b59173dd
Add filters into newsletter response
...
[MAILPOET-4583]
2022-10-05 14:14:34 +02:00
7e6f708df8
Create tags when do not exist
...
[MAILPOET-4557]
2022-09-28 11:42:51 +02:00
ef66a21096
Remove old ScheduledTask model from Config\Populator
...
[MAILPOET-4306]
2022-09-26 14:18:01 +02:00
a006701d78
PR feedback: add type hints, create new methods and save on extra api request
...
MAILPOET-4601
2022-09-26 11:13:40 +02:00
32a58301b0
Update test cases in ServicesTest
...
support sending congratulatory email when sender domain is verified but
no authorized email address
MAILPOET-4601
2022-09-26 11:13:40 +02:00
31732dbf3b
Update tests, update dependencies
...
MAILPOET-4601
2022-09-26 11:13:40 +02:00
d0c65b9446
Cleanup MP API test
...
[MAILPOET-4295]
2022-09-21 16:02:23 +02:00
09f5790120
Move getSubscribers integration test into specific test file
...
[MAILPOET-4295]
2022-09-21 16:02:23 +02:00
df8ba7351c
Replace old SendingQueue model with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
85d317015f
Replace old Segment model with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
4157a864e5
Replace old Subscriber and SubscriberSegment models with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
929e5e6081
Replace old CustomField model with Doctrine code in SubscribersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
8191af6a23
Replace old models with Doctrine code in SettingsTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
c3ab2fffec
Replace old models with Doctrine code in NewslettersTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
f19e98091c
Replace CustomField model with Doctrine code in CustomFieldsTest
...
[MAILPOET-4378]
2022-09-20 15:54:19 +01:00
6bf36d4211
Make sure the subscriber_segment table is truncated
...
This is necessary while
https://mailpoet.atlassian.net/browse/MAILPOET-4580 . Without this
change, leaving entries in wp_mailpoet_subscriber_segment has the
potential to interfere with other tests as it happened in the test added
for the ticket MAILPOET-4365:
https://app.circleci.com/pipelines/github/mailpoet/mailpoet/11041/workflows/8cca6607-2e24-4529-a8ad-cf9a0c663180/jobs/191334/tests#failed-test-0
See MAILPOET-4580 for more details.
[MAILPOET-4365]
2022-09-19 13:35:39 +02:00
79e11fe939
Move MP API addSubscriber tests under Subscribers class tests
...
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
2356c62be3
Refactor MP API addSubscriber to doctrine
...
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
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
877fd9d7da
Move MP API unsubscribe from list test to a separate file
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
c3251f4092
Refactor MP API unsubscribe from lists to doctrine
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
9e5f1d0ff0
Implement Show sender domain warning for settings
...
This would show the sender domain warning message for
domains that are not verified and have a Retricted DMARC Policy
MAILPOET-4302
2022-08-11 12:36:23 +02:00
1d4ec47b25
Move tests for addList under the related service test
...
[MAILPOET-4294]
2022-08-04 13:31:53 +02:00
c6d284cb32
Move lists testing to the separate class
...
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
e8b94761e5
Add tags into listing response
...
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
3009570640
Add integration test for SubscribersResponseBuilder
...
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
37c681259f
Use data factories for generating entities
...
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
8399f37860
Reuse NewsletterOption factory
...
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
6aa4beb4dc
Remove empty test
...
[MAILPOET-4432]
2022-07-04 14:04:16 +03:00
445d07ac68
Prevent segmentation of automation emails
...
[MAILPOET-4432]
2022-07-04 14:04:16 +03:00
d340909187
Replace repeating code with using factory
...
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
3d1365595b
Remove catch block and change quotes
...
Remove catch block to log unexpected exceptions and change quotes for consistency on error message.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
2e5e8e808f
Verify that new email is unique when editing a subscriber
...
Throws an exception with information message if email already exists.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
c1bd52b964
Add code to display the invisible ReCaptcha in the frontend
...
This commit adds the required code to display the invisible ReCaptcha in
the frontend when a form is rendered and this type of captcha is
selected in the admin.
[MAILPOET-4145]
2022-05-19 09:22:30 +02:00
db4ef57b2e
Fix failing test in AutomatedLatestContentTest
...
[MAILPOET-4251]
2022-05-17 14:17:26 +02:00
fce14358bf
Revert "Replace NewsletterOption and NewsletterOptionField models"
...
This reverts commit 9b087f719f
.
2022-05-17 12:27:46 +02:00
d89067854c
Replace NewsletterOption and NewsletterOptionField models
...
This commit repleaces the old NewsletterOption and NewsletterOptionField
models with Doctrine code in several test classes.
[MAILPOET-4150]
2022-05-16 13:18:21 +02:00
780dd7f609
Use data factory for test newsletter
...
MAILPOET-4236
2022-05-16 11:17:29 +02:00
0159418251
Remove unnecessarily specific test
...
This case is handled in the newsletter validator's integration tests
MAILPOET-4236
2022-05-16 11:17:29 +02:00
115fe9c511
Make test more generic
...
We already have a specific test for the newsletter validator to check
for the missing unsubscribe link case. All we really care about for the
sending queue is that it rejects newsletters that are considered invalid
for any reason.
MAILPOET-4236
2022-05-16 11:17:29 +02:00
702d00c6e4
Refactor to use service override helper
...
MAILPOET-4236
2022-05-16 11:17:29 +02:00
c98f3bba29
Refactor mock service creation to use new helper
...
MAILPOET-4236
2022-05-16 11:17:29 +02:00
ab609c8867
Remove subscriber check from newsletter validator
...
Checking the subscriber limit has nothing to do with the newsletter
itself, so it makes more sense to continue to perform that check as
needed elsewhere in the codebase.
MAILPOET-4236
2022-05-16 11:17:29 +02:00
8983d5e3f7
Move subscriber limit check into validator
...
[MAILPOET-4236]
2022-05-16 11:17:29 +02:00
9bfe2b2ca1
Newsletter validation updates
...
- Rename validator to newsletterValidator for clarity
- Add validation for ALC content
- Refactor tests to use data factory for consistency and to avoid
validation issues
- Add separate tests for NewsletterValidator service
- Add test helper for retrieving service with private properties
overridden by name
[MAILPOET-4236]
2022-05-16 11:17:29 +02:00