mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-27 01:22:18 +08:00
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 |
||
|---|---|---|
| .. | ||
| AbstractPaymentMethodType.php | ||
| DefaultPaymentGateways.php | ||
| NoteTraits.php | ||
| ProductStatus.php | ||
| Task.php | ||
| WC_Ajax.php | ||
| WC_Checkout.php | ||
| WC_Payment_Gateway.php | ||
| WC_Payment_Gateway_CC.php | ||
| WC_REST_Controller.php | ||
| WC_Session.php | ||
| WC_Session_Handler.php | ||
| WP_Error.php | ||
| WP_REST_Controller.php | ||
| WP_REST_Request.php | ||
| WP_REST_Response.php | ||