Commit Graph

28157 Commits

Author SHA1 Message Date
Claudiu Lodromanean ba0a989a38
Merge pull request #21306 from woocommerce/feature/21115
[REST API] Reports totals endpoints
2018-09-10 10:23:56 -07:00
Claudiu Lodromanean 75bac9f3c6
Merge pull request #21316 from woocommerce/fix/21120
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 09:47:31 -07:00
Claudiu Lodromanean 4dbef1703a
Merge pull request #21189 from woocommerce/save-old-tests
Set up unit tests for v3 api and v2 api
2018-09-10 07:35:42 -07:00
Peter Fabian 252670b616 Merge branch 'feature/rest-api-v3' into save-old-tests
# Conflicts:
#	tests/unit-tests/api/products.php
2018-09-10 16:07:35 +02:00
Peter Fabian f6ca4db90e Updated tests for settings endpoint to reflect changes in v3 REST API. 2018-09-10 15:53:41 +02:00
Peter Fabian ec4000232d Updated tests to reflect changes for variations in v3 REST API. 2018-09-10 15:49:07 +02:00
Peter Fabian b6f229238e Updated payment gateways tests for v3 REST API. 2018-09-10 15:42:46 +02:00
Peter Fabian f68bef3e24 Update customers endpoint tests for v3 REST API. 2018-09-10 14:20:23 +02:00
Peter Fabian f80d628c56 Fixed omitted grandparent's prepare_objects_query for products endpoint. 2018-09-10 13:49:42 +02:00
Peter Fabian 1237e5ef7e Added enums to collection_params for stock_status. 2018-09-10 12:36:18 +02:00
Peter Fabian 0ddd8f4506 Fixed stock_status validation. 2018-09-10 12:32:01 +02:00
Peter Fabian 70a4309d81 Replaced in_stock with stock_status for v3 products endpoint. 2018-09-10 11:53:20 +02:00
Peter Fabian 7efd4e9993
Merge pull request #21303 from woocommerce/feature/21116
[REST API] Orders - fixed schema to include instance_id for shipping_lines
2018-09-10 09:30:19 +02:00
Claudio Sanches 047ad849b4 Fixed /reports/products/totals unit tests 2018-09-08 23:10:20 -03:00
Claudio Sanches 14a1217218 Load all product types even when empty 2018-09-08 22:45:51 -03:00
Claudio Sanches 5f723fc0d9 Removed extra code 2018-09-08 22:40:27 -03:00
Claudio Sanches e154b9d0a6 /reports/reviews/totals unit tests 2018-09-08 22:33:59 -03:00
Claudio Sanches e322f279cd /reports/products/totals unit tests 2018-09-08 22:33:44 -03:00
Claudio Sanches 570d0aa3e5 /reports/orders/totals unit tests 2018-09-08 22:33:30 -03:00
Claudio Sanches 975d855edc /reports/customers/totals unit tests 2018-09-08 22:33:14 -03:00
Claudio Sanches c2b4146db3 /reports/coupons/totals unit tests 2018-09-08 22:32:20 -03:00
Claudio Sanches d199538514 Inserted data for /reports/reviews/count endpoint 2018-09-08 22:10:19 -03:00
Claudio Sanches d2b0ff0f32 Initial /reports/reviews/totals endpoint 2018-09-08 21:19:57 -03:00
Claudio Sanches 2fcabfe7e6 /reports/coupons/totals endpoint 2018-09-08 21:04:13 -03:00
Claudio Sanches daf6650d5d /reports/customers/count endpoint 2018-09-08 20:32:39 -03:00
Claudio Sanches a0145c0265 Fixed schema to include instance_id for shipping_lines 2018-09-08 19:12:40 -03:00
Claudio Sanches 30a2e87cf5 Fixed schema to include instance_id for shipping_lines 2018-09-08 19:10:45 -03:00
Claudio Sanches ca36e368c5 Added /reports/products/totals endpoint 2018-09-08 19:02:29 -03:00
Claudio Sanches 5d67b474ed Load product types 2018-09-08 19:02:22 -03:00
Claudio Sanches 017b44693b Updated names 2018-09-05 10:30:14 -03:00
Claudio Sanches f13deab00a /reports/orders/count 2018-09-05 10:28:22 -03:00
Claudio Sanches 25ed037fb0 Include new reports endpoints results 2018-09-05 09:36:19 -03:00
Claudio Sanches 9fd386155f Allow to easy manipulate /reports endpoint results 2018-09-05 09:28:58 -03:00
Claudio Sanches f0e6ec7a6c Register reports 2018-09-05 09:25:56 -03:00
Claudio Sanches c271fca508 Restored reports endpoints 2018-09-05 09:24:02 -03:00
Claudiu Lodromanean 24d9133a6b
Merge pull request #21266 from woocommerce/feature/21117
REST API] Make product's created date editable
2018-09-04 10:46:26 -07:00
Claudio Sanches bf69627cb1 Unit tests 2018-09-03 11:05:17 -03:00
Claudio Sanches 6a3483fa8a [REST API] Make product's created date editable 2018-09-03 10:57:28 -03:00
claudiulodro 00e9af285c Fix shipping tests and clean up code 2018-08-27 13:14:32 -07:00
claudiulodro 0e67fd6d4d Reset payment gateways between tests 2018-08-27 12:05:13 -07:00
Claudiu Lodromanean 0627ef916c
Merge pull request #21165 from woocommerce/fix/21145-2
Added tests for _fields query param for system_status/tools endpoint.
2018-08-24 09:42:29 -07:00
Claudiu Lodromanean 33a5337397
Merge pull request #21164 from woocommerce/fix/21144-2
Added test for _fields query param for system_status endpoint.
2018-08-24 09:41:51 -07:00
claudiulodro 2466728183 Set up unit tests for v3 api and v2 api 2018-08-24 08:49:37 -07:00
Peter Fabian e2ebf84f65 Updated API version in test to v3. 2018-08-24 17:24:52 +02:00
Peter Fabian b05cfc6b17 Updated API version in test to v3. 2018-08-24 17:22:38 +02:00
Peter Fabian cf466aedd8 Added tests for _fields query param for system_status/tools endpoint. 2018-08-23 15:33:58 +02:00
Peter Fabian c4dc7cb0de Added test for _fields for system_status endpoint. 2018-08-23 15:19:04 +02:00
Claudiu Lodromanean 4257859dc7
Merge pull request #20883 from woocommerce/feature/20882
[REST API] products/reviews endoint
2018-08-02 10:53:32 -07:00
Claudio Sanches 0b0fba824b Returns only reviews and fixed prepared args 2018-08-02 14:01:46 -03:00
Claudio Sanches 355eba85ca Updated unit tests 2018-07-31 13:46:59 -03:00