Commit Graph

297 Commits

Author SHA1 Message Date
Rodrigo Primo
298b8730fe Updates parts of FormsTest to use Doctrine entities
This commit simply updates parts FormsTest to use Doctrine entities
instead of Paris objects.

[MAILPOET-3036]
2021-03-31 11:37:07 +02:00
Jan Lysý
37a7e8e252 Add test for save custom field for Subscribers
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
da5aefa89a Add calling clear in SubscribersTest
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Jan Lysý
dcc70b3865 Use doctrine for save Subscriber
[MAILPOET-3031]
2021-03-29 15:22:53 +02:00
Rostislav Wolny
3f434aae76 Add acceptance tests for blocking trashing active segments
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Rostislav Wolny
51e5206ed8 Fix trashing check to check also welcome and automatic emails
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Rostislav Wolny
fc66381da2 Remove client side checks for trashing lists
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Rostislav Wolny
271c0a0ec6 Block trashing of a active used single list on API
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Rostislav Wolny
b17236b88c Fix typos in Segments API test
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Rostislav Wolny
f066bc8fdd Disallow trashing single dynamic segment with active email
[MAILPOET-3463]
2021-03-29 12:42:21 +02:00
Pavel Dohnal
95825793c0 Use doctrine for populator query
[MAILPOET-3481]
2021-03-24 11:05:17 +01:00
Rostislav Wolny
6bc557ecb0 Refactor dynamic segments bulk actions endpoint
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
2db223daf7 Refactor dynamic segments delete endpoint
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
e1eea57d32 Refactor dynamic segments trash and restore
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
f5df2601ef Refactor segment test data factories to work with Doctrine
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
9fdebdb4d7 Refactor api for creating/updating dynamic segments
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
40c9f047be Refactor segment filter data to embedded object
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
bd63ae508f Refactor dynamic segments get endpoint to doctrine
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
d42752fa99 Add test for dynamic segments listing response builder
[MAILPOET-3177]
2021-03-10 15:20:32 +01:00
Rostislav Wolny
54cee207ea Remove forgotten test debug code
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
Rostislav Wolny
d00e667b96 Check Custom HTML in form on save
[MAILPOET-3415]
2021-02-15 13:30:08 +01:00
Jan Lysý
6337c37e45 Update tests for third party API
[MAILPOET-3307]
2021-02-03 11:01:38 +01:00
Jan Lysý
bcb62403a1 Remove phpstan errors from integration API tests
[MAILPOET-3235]
2021-01-18 14:39:42 +01:00
Pavel Dohnal
822550f3c0 Refactor dynamic segments listings to doctrine
[MAILPOET-3361]
2021-01-11 13:24:12 +01:00
Pavel Dohnal
b64525ecc5 Migrate tests
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
Pavel Dohnal
1d6cf56fd9 Refactor subscriber statistics to doctrine
[MAILPOET-3168]
2021-01-08 10:37:50 +01:00
Rostislav Wolny
15d010c448 Fix static analysis issues in FormTest
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Rostislav Wolny
baf67a96a1 Update subscription integration test
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Rostislav Wolny
36a7cc0b25 Fix searching for segments to work with nested segments block
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Rostislav Wolny
46f9860990 Add test for segment ids search in form save API
[MAILPOET-3297]
2021-01-04 11:32:28 +01:00
Jan Lysý
83cb272555 Use method createOrUpdate from SegmentRepository in tests
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
Jan Lysý
37cef4fb34 Remove usage of Idiorm from Segments test
[MAILPOET-3167]
2020-12-07 14:48:58 +01:00
Rostislav Wolny
65ca040a20 Always inject welcome emails scheduler
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
645f888186 Refactor WP Users segment controller to injectable service
[MAILPOET-3141]
2020-11-09 12:56:17 +01:00
Rostislav Wolny
0bbe65fab7 Remove default form
[MAILPOET-3238]
2020-10-27 17:34:43 +01:00
Jan Lysý
ac1044eebb Remove mose of uses Idiorm from NewslettersTest
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
Jan Lysý
c68728670e Remove using Idiorm from Newsletter::duplicate
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
Jan Lysý
9955a2a250 Add tests for default values of new newsletters
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
Jan Lysý
a15a74d94f Use doctrine instead of Idiom in test for PostNotification
[MAILPOET-2946]
2020-10-27 15:00:14 +01:00
Rostislav Wolny
54727ad9a2 Fix integration tests to work with updated codeception/verify
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
Jan Lysý
00b0cf184d Fix Subscribers intergration test with refactor
[MAILPOET-3033]
2020-10-07 14:26:54 +02:00
Jan Lysý
988b5021d4 Fix intergration test for Subscribers
[MAILPOET-3033]
2020-10-07 14:26:54 +02:00
Jan Lysý
e24aa82d95 Add integration test on SegmentsResponseBuilder
[MAILPOET-3166]
2020-10-05 10:55:31 +02:00
Jan Lysý
b78997a343 Add Integration test on FormsResponseBuilder
[MAILPOET-3035]
2020-10-01 16:29:34 +02:00
Rostislav Wolny
95af49e43f Refactor creating/deleting WordPress users in integration tests
[MAILPOET-3077]
2020-09-29 08:24:11 +02:00
Rostislav Wolny
d7e64b6fd0 Load dynamic segments for subscribers listing in listing repository
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
694d1fae10 Refactor SubscribersFinder to be always injected by container
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
c952ef9542 Use only Listing repository in subscribers listing API
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
f948f2b53a Refactor loading subscriber counts in dynamic segments API
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00
Rostislav Wolny
d18d3b052d Add dynamic segments filter entity
[MAILPOET-3077]
2020-09-28 14:26:53 +02:00