Commit Graph

38 Commits

Author SHA1 Message Date
Jan Jakes
a1632ea512 Satisfy PHPCS checks also in tests
[MAILPOET-6150]
2024-08-29 17:23:34 +02:00
 Ján Mikláš
7f27d5f850 Add test
[MAILPOET-6154]
2024-07-29 15:03:47 +02:00
Jan Jakes
9be6895cf1 Simplify automation test helpers
[MAILPOET-6131]
2024-07-10 12:56:52 +02:00
Jan Jakes
f71993dde9 Cancel scheduled progress runs when executed manually
[MAILPOET-4977]
2024-05-06 12:39:00 +02:00
Jan Jakes
9303d89957 Add test for automation controller
[MAILPOET-4977]
2024-05-06 12:39:00 +02:00
Jan Jakes
a94c090570 Fix typo in test
[MAILPOET-4977]
2024-05-06 12:39:00 +02:00
Jan Lysý
41a55262fe Fix PHPStan warnings in tests
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Jakes
7fac20fc8c Make default error value NULL, make data non-nullable
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
Jan Jakes
8eb2e3f43e Rename hook to better correspond to its function
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
944b440bdf Rethrow integration log exceptions in debug mode
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
701984523f Add step handler logging tests, remove them from run log test
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
4b6d88c0bc Add step scheduler test
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
Jan Jakes
d680e0aad7 Add step run logger test
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
ef97e4d05a Add logging for automation triggers
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
9cd871c32e Remove unused step runner interface
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
f75620a7c1 Add IDs for filter groups and filter definitions
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
Jan Jakes
34ca96d007 Introduce filters data type and filter groups to enable saving and/or filter combinations
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
Jan Jakes
a6fcc60de3 Add "of" preposition to matches any/all/none
[MAILPOET-5257]
2023-04-24 10:42:28 +02:00
Jan Jakes
51c22c7044 Add integration test for trigger filters
[MAILPOET-4946]
2023-04-20 16:32:32 +02:00
John Oleksowicz
e7f766aedf Remove empty _afters
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
f90e869402 Clean up after automations too
MAILPOET-5145
2023-04-07 12:11:12 -05:00
John Oleksowicz
cd0b795ac8 Extract customer creation/cleanup
This also ensures that cleanup always runs after all integration tests

MAILPOET-5145
2023-04-07 12:11:12 -05:00
David Remer
cd9bf9107f Move createAutomationRun method to integration tester
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
David Remer
7379b83a92 Move createAutomation method to integration tester
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Jan Jakes
82aeb89854 Use strict types in tests
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
John Oleksowicz
0566b3f5fa Fix remaining code style issues
[MAILPOET-4850]
2022-11-28 22:24:54 +01:00
John Oleksowicz
ac4adac1ab Fix test class name
[MAILPOET-4850]
2022-11-28 22:24:54 +01:00
David Remer
7db40b27b5 Fix errors automatically with phpcbf
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
David Remer
c7f850e1ba Declare strict types
[MAILPOET-4842]
2022-11-28 13:03:06 +01:00
David Remer
af95080b67 Add test for TriggerHandler
[MAILPOET-4842]
2022-11-28 13:03:06 +01:00
Jan Jakes
9063dc3079 Remove duplicities in naming
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
9d55d3f134 Use "automation" instead of "workflow"
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
Jan Jakes
af1e09f46f Remove "inactive" status for now, use "draft" instead
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
dc5e5b4f8b Use "automation" instead of "workflow" in user-facing strings
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
David Remer
916080fa5a Reset step runners to not interfer with other tests
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
5ba5426281 truncate entries of WorkflowRunLogStorage
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
9bdb32c073 Verify deactivating workflow gets inactive after last workflow run
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
2620ef0b57 Do not handle workflow runs when workflow status is not active/deactivating
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00