Commit Graph

28 Commits

Author SHA1 Message Date
1747d9c1c9 Fix wrong import
[MAILPOET-4540]
2022-10-17 11:21:03 +03:00
506cb8b732 Ensure workflow was trashed before deleting it
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
e40665fc4a Add missing trailing comma
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
7b2dc2d172 Add check that workflow hasn't been duplicated when not allowed
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
70344b0e84 Add test for workflow delete endpoint
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
2a4b126538 Add test for workflow duplicate endpoint
[MAILPOET-4540]
2022-10-14 12:03:53 +03:00
03cfeaac7f Fix test: If activated_at is null the status has to be draft
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
4931ab47cb Use already assigned $this->workflowStorage instead of using di container
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
ea3a40863d Replace assert() with $this->assert*
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
0679658d33 Rename WorkflowStorage::flush() to WorkflowStorage::truncate()
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
dba4b266dd Add test for WorkflowPutEndpoint
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
6e3e8c7326 Test not loggedin users can not get workflow templates
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
44902eb33c Extend tests for WorkflowCreateFromTemplate enpdoint
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
bbb130f3ea Add tests for WorkflowsGetEndpoint
[MAILPOET-4531]
2022-10-13 13:01:10 +03:00
ba35ddf6e6 Extract automation API to MailPoet REST API
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
83f5c6cc46 Add test for WorkflowTemplatesGetEndpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
baa4d369af Introduce template storage and rebuild create form template endpoint
[MAILPOET-4538]
2022-08-23 14:03:24 +02:00
98b01f46e0 Move workflow creation POST endpoint to Premium
[PREMIUM-180]
2022-06-09 13:30:54 +02:00
2bf59eab9a Create templated workflows in draft status
MAILPOET-4264
2022-06-08 13:14:11 +02:00
25b9f3a876 Create a workflow from a PHP template
MAILPOET-4264
2022-06-08 13:14:11 +02:00
3660d12dd0 Return workflow list data in workflows endpoint
[MAILPOET-4287]
2022-05-19 10:09:05 +02:00
adf6dd3ce9 Add schema for workflow post endpoint
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
29df2dddb6 Sanitize unknown params
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
679f2200bd Rename endpoint "factory" to a more exact "container"
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
36a3f34db8 Add generic API endpoint tests
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
506b6e82fc Add post workflows tests
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
a6cdffbfea Add get workflows tests
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
db7b5162d2 Add test parent for automation REST tests
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00