woocommerce-paypal-payments/tests/stubs
Moritz Meißelbach 9590e0c298 test(AgenticCommerce): Add comprehensive test coverage for ingestion components
This commit adds unit tests for the Agentic Commerce ingestion functionality:
- Add tests for ProductsPayload class covering simple products, variable products, and edge cases
- Add tests for IngestionBatchProvider with various batch scenarios and priority handling
- Add tests for SyncJob including successful syncs, error handling, and metadata updates
- Add ProductsPayloadFactory to enable dependency injection in SyncJob
- Add ProductStatus stub for WooCommerce enum compatibility
- Update patchwork.json to support mocking of date functions in tests
2025-11-03 16:43:39 +01:00
..
AbstractPaymentMethodType.php Refactor stubs 2025-10-22 18:40:47 +02:00
DefaultPaymentGateways.php Fix the tests 2025-06-27 12:56:12 +04:00
NoteTraits.php Refactor NoteTrait stub 2025-10-22 18:40:47 +02:00
ProductStatus.php test(AgenticCommerce): Add comprehensive test coverage for ingestion components 2025-11-03 16:43:39 +01:00
Task.php Add namespace and constructor to stub task class 2024-09-12 12:11:39 +02:00
WC_Ajax.php fix tests 2020-08-31 13:03:16 +03:00
WC_Checkout.php Add tests 2023-02-07 15:30:59 +02:00
WC_Payment_Gateway.php Leave it as it was for now 2022-08-16 11:06:18 +02:00
WC_Payment_Gateway_CC.php Leave it as it was for now 2022-08-16 11:06:18 +02:00
WC_REST_Controller.php 🧪 First test for CreateCartEndpoint 2025-10-22 18:40:50 +02:00
WC_Session.php Refactor stubs 2025-10-22 18:40:47 +02:00
WC_Session_Handler.php Refactor stubs 2025-10-22 18:40:47 +02:00
WP_Error.php 🤡 Add WP_Error mock class 2025-10-22 18:47:37 +02:00
WP_REST_Controller.php Refactor stubs 2025-10-22 18:40:47 +02:00
WP_REST_Request.php 🧪 First test for CreateCartEndpoint 2025-10-22 18:40:50 +02:00
WP_REST_Response.php 🧪 First test for CreateCartEndpoint 2025-10-22 18:40:50 +02:00