Commit Graph

116 Commits

Author SHA1 Message Date
fc455d7cfa Add saving custom fields on subscribe
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
5ce4eeed10 Fix flaky test in SubscriberActionsTest
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
5ef040bb93 Add integration test for SubscriberSubscribeController
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
13b4c74c00 Use Doctrine in SubscriberActions integration tests
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
69d5eb42f7 Use Doctrine in RequiredCustomFieldValidator
[MAILPOET-3032]
2021-04-12 14:26:36 +02:00
41324cf62a Add more supported fields to save method
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
bb9d4429ec Add integration test for SubscriberSaveController
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
a49bf8118a Attempt to fix a flaky integration test
This commit attempts to fix the integration test
SubscriberListingRepositoryTest::testReturnsCorrectCountForSubscribersInDynamicSegment()
that was failing sometimes on CircleCI. My theory is that the test was
failing because we were using created_at to order the subscribers in the
query that is used to get subscribers in a given dynamic segment, but
there is a chance the the value of this field is the same for all the
three subscribers that are created in this test. As this could lead to a
situation where the order of the returned subscribers changes, causing
the test to fail. To work around that, I changed the test to order the
results by ID. This way we should always get the subscribers in the same
order.

[MAILPOET-3451]
2021-03-15 14:33:59 +01:00
aff4c9d5b7 Fix dynamic segments filtering in subscriber export
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
40c9f047be Refactor segment filter data to embedded object
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
wxa
e71e063ef0 Use same query logic for counting and exporting subs w/o lists
[MAILPOET-3462]
2021-03-10 13:16:48 +01:00
6f42222abc Fix subscriber consent data in export
[MAILPOET-3472]
2021-03-09 13:13:55 +01:00
62bf43ad3f Add consent evidence columns to import tests
[MAILPOET-3389]
2021-03-08 11:39:44 +01:00
a3224e9286 Remove old unused class for read subscribers
[MAILPOET-3376]
2021-03-08 09:09:00 +01:00
8450beaf10 Add tests for get subscribers in ImportExportRepository
[MAILPOET-3376]
2021-03-08 09:09:00 +01:00
4a2af719db Remove use old model from ExportTest
[MAILPOET-3376]
2021-03-08 09:09:00 +01:00
cbea75927a Add ignoring improper subscribers from MailChimp
[MAILPOET-3404]
2021-03-02 14:29:27 +01:00
ff284cb12f Fix flaky Import test
Comparing timestamps with delta parameter allow values that differs by 1 second.
[MAILPOET-3412]
2021-03-01 08:43:45 +01:00
2bf5e93125 Add integration test for ImportExportRepository
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
0347e44893 Use importExportRepository in import
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
d500f872d7 Refactor integration Import test
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
1deaef4321 Use Doctrine in integration test for Import
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
2f1899d810 Add new dependencies to ImportTest
[MAILPOET-3378]
2021-02-18 10:13:44 +01:00
cd578e6475 Refactor fetching list of subscribers for export
[MAILPOET-3146]
2021-01-25 09:17:17 +01:00
922c52f7df Remove phpstan errors from the rest of the tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
83eecc9dc5 Fix getting subscribers without a list
[MAILPOET-3285]
2021-01-11 11:23:52 +01:00
b1feed43f6 Fix subscriber listing with dynamic segment filter
[MAILPOET-3319]
2021-01-04 13:14:55 +01:00
83cb272555 Use method createOrUpdate from SegmentRepository in tests
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
d91c383e53 Fix importing WP users as subscribers
[MAILPOET-3298]
2020-11-16 13:25:56 +01:00
b1fc127f98 Add test for filtering subscribers without segment
[MAILPOET-3197]
2020-10-29 15:00:51 +01:00
4045fba527 Remove unnecessary duplicated 'text' property
[MAILPOET-3073]
2020-10-29 14:09:37 +01:00
ca04b600a3 Fix tests
[MAILPOET-3073]
2020-10-29 14:09:37 +01:00
db9b51e12a Add a bulk unsubscribe server side action
[MAILPOET-2978]
2020-10-29 09:32:59 +01:00
a2a17ed5df Add test that WP and WC subscribers aren't deleted
[MAILPOET-3138]
2020-10-20 17:22:06 +02:00
54727ad9a2 Fix integration tests to work with updated codeception/verify
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
dc786925b8 Add integration test for SubscribersRepository
[MAILPOET-3033]
2020-10-07 14:26:54 +02:00
95af49e43f Refactor creating/deleting WordPress users in integration tests
[MAILPOET-3077]
2020-09-29 08:24:11 +02:00
d7e64b6fd0 Load dynamic segments for subscribers listing in listing repository
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
a98f627dbf Add segment filters application to Subscribers listing repository
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
d18d3b052d Add dynamic segments filter entity
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
814686e8d2 Refactor mailpoet_get_segment_filters to direct calls
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
wxa
42edf8726a Remove debug line [MAILPOET-2876] 2020-09-09 13:09:06 +02:00
c6bb38cc69 Add method for sending confirmation email with duplicates check
[MAILPOET-2876]
2020-09-09 13:09:06 +02:00
65fd596f71 Fix counts in segment filter in subscriber listing
[MAILPOET-3132]
2020-09-08 09:16:56 +02:00
be4fb96dc5 Add tests to import for new properties
Fixes:#2968
[MAILPOET-2957]
2020-08-10 15:16:31 +02:00
33e2c3d9d2 Add test for respository
[MAILPOET-2657]
2020-08-06 12:23:41 +02:00
a873f9846c Move the MailChimp test to integration suite
[MAILPOET-2843]
2020-04-16 12:57:34 +02:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
wxa
3584b717dc Fix array offset access on null/boolean and with curly braces [MAILPOET-2577] 2020-01-23 12:46:52 +00:00