woocommerce/plugins/woocommerce-blocks/tests/php/RestApi
Mike Jolley d637c28d62 Update add to cart to useStoreCart hook (https://github.com/woocommerce/woocommerce-blocks/pull/2103)
* Switch add to cart events to useStoreCart hook

* Add to cart endpoint

* Inject dependenct schemas

* Feedback, cart items are based on product schema

* Variable typo

* Move hook to base

* Update totals correcrly

* Update tests to use schema/routes class

* Update tests to correctly use schema

* Remove type hint to prevent strict standards error
2020-04-06 11:36:28 +01:00
..
Controllers Validate store API schema in unit tests (https://github.com/woocommerce/woocommerce-blocks/pull/1553) 2020-01-17 11:34:15 +00:00
StoreApi Update add to cart to useStoreCart hook (https://github.com/woocommerce/woocommerce-blocks/pull/2103) 2020-04-06 11:36:28 +01:00
Utilities Update `reserved stock` class to handle concurrent requests (https://github.com/woocommerce/woocommerce-blocks/pull/1778) 2020-03-06 11:44:20 +00:00