Commit Graph

23 Commits

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