Commit Graph

19 Commits

Author SHA1 Message Date
Jan Jakes
d6da2af55b Extract newsletter bulk delete logic to a controller
Repositories shouldn't inject other repositories. Also, this solves circular DI dependency.

[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Rodrigo Primo
c41e5c7d0f Replace expect()->hasNotKey() with verify()->arrayHasNotKey()
codeception/verify 2.1 removed support for expect()->hasNotKey() so we need
to replace it with verify()->arrayHasNotKey().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
525495409c Replace expect()->notNull() with verify()->notNull()
codeception/verify 2.1 removed support for expect()->notNull() so we need
to replace it with verify()->notNull().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
5bc5b5ebd2 Replace expect()->notEmpty() with verify()->notEmpty()
codeception/verify 2.1 removed support for expect()->notEmpty() so we need
to replace it with verify()->notEmpty().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
Rodrigo Primo
afe378ba22 Replace expect()->equals() with verify()->equals()
codeception/verify 2.1 removed support for expect()->equals() so we need
to replace it with verify()->equals().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00
John Oleksowicz
c09409e1de Replace manual option field creation with factory
MAILPOET-5161
2023-10-23 17:40:54 +02:00
David Remer
08877861ef Test event option is added correctly to the tracker
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
2f1885e99b Test tracker only returns revenues from completed orders
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
16862dc4b8 Add test to verify deleted campaigns are still tracked
[MAILPOET-5486]
2023-08-22 10:19:37 +02:00
John Oleksowicz
c75bc388c9 Remove unnecessary cleanup code
MAILPOET-5145
2023-04-07 12:11:12 -05:00
Rostislav Wolny
3c89bf2f0d Remove currency from the Woo Tracker data
The currency is already tracked by Woo core under settings.currency.
[MAILPOET-5037]
2023-02-06 12:13:27 +01:00
Rostislav Wolny
b24beb1dae Track only revenue data in the current shop currency
This is a protection against an edge case when a shop changes
the currency. We want to make sure we don't mix currencies.
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
f66be1b947 Improve typehints and doctypes for the woo revenue tracking
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
55b64d0354 Flatten array campaigns revenue tracking data
This format will be more suitable for further processing for Looker.
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
97b42a4a91 Add currency of the store to the tracking data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
bedde323bd Add proper test group for the tracker integration test
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
0cf2787937 Add email campaigns count to WC tracker data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
23e08ecb44 Add method for fetching revenue data for the WC Tracker
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
4dfdfc8423 Add dummy Woo Tracker class
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00