woocommerce-paypal-payments/tests/PHPUnit/AgenticCommerce/Ingestion
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
..
IngestionBatchProviderTest.php test(AgenticCommerce): Add comprehensive test coverage for ingestion components 2025-11-03 16:43:39 +01:00
ProductsPayloadTest.php test(AgenticCommerce): Add comprehensive test coverage for ingestion components 2025-11-03 16:43:39 +01:00
SyncJobTest.php test(AgenticCommerce): Add comprehensive test coverage for ingestion components 2025-11-03 16:43:39 +01:00