Commit Graph

10 Commits

Author SHA1 Message Date
Jan Lysý
1a2d8b8d40 Add saving nicename for created WP users
[MAILPOET-4841]
2022-11-26 09:09:00 +01:00
David Remer
d2ec7bba42 Replace instance_of asserts in integration tests
[MAILPOET-4258]
2022-11-25 14:32:34 +01:00
Rodrigo Primo
8e88a86f02 Refactor Segments\WooCommerce tests to stop using a WC_Order mock
We want to use real WooCommerce code instead of mocks for the tests that
are part of the woo test group and this change is necessary for a
subsequent commit that will modify
\MailPoet\Segments\WooCommerce::insertSubscriberFromOrder().

[MAILPOET-4570]
2022-10-03 09:30:42 +02:00
Rostislav Wolny
bb5a955c69 Used Woo code for cleaning up orders data in WooCommerce segment test
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Rostislav Wolny
16ddb93d79 Refactor WooCommerce Segments test to use wc_create_order
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Rostislav Wolny
ed5bd8de61 Add Woo dependent tests to woo group
Mark all integration tests that are related to WooCommerce with group "woo".
[MAILPOET-4566]
2022-09-08 13:02:52 +02:00
Brezo Cordero
b7a37e69b7 Init $customerRoleAdded on WooCommerceTest.php
This will make it non-nullable and have only the type bool.

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
Brezo Cordero
6d5eed6190 Remove PHPStan level 6 errors from Segments\WooCommerce
Remove the following errors:
(Method|Property|Function) has no (return )?type specified.
(Method|Function) has parameter with no type (specified).

[MAILPOET-3720]
2022-05-23 12:04:12 +02:00
David Remer
f5543b1990 Overwrite add_role method when creating test users
[MAILPOET-2834]
2022-05-12 11:41:57 +02:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00