Claudiu Lodromanean
ba0a989a38
Merge pull request #21306 from woocommerce/feature/21115
...
[REST API] Reports totals endpoints
2018-09-10 10:23:56 -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
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
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
bf69627cb1
Unit tests
2018-09-03 11:05:17 -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
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
Claudio Sanches
355eba85ca
Updated unit tests
2018-07-31 13:46:59 -03:00
Claudio Sanches
7416be5644
Updated unit test class name
2018-07-31 13:36:31 -03:00
Claudio Sanches
ab2514bfd4
Updated unit tests for reviews
2018-07-31 13:33:51 -03:00
Gerhard Potgieter
a6e7ae15f9
Add unit test for testing wc_get_user_agent
2018-07-11 14:11:31 +02:00
Gerhard Potgieter
bc3c780b92
PHPCS fixes
2018-07-09 13:04:16 +02:00
Gerhard Potgieter
1fdcf2a238
Fix log file deletion functionality.
2018-07-09 13:01:23 +02:00
Claudiu Lodromanean
2a3cedddcd
Merge pull request #20520 from woocommerce/feature/product-custom-tables-supporting-changes
...
Product custom tables supporting changes
2018-06-27 08:57:50 -07:00
Gerhard Potgieter
2df62edec1
Improve the replacement for wc_format_phone_number a bit more, seems like we allow spaces and plus signs, remove non visible unicode with seperate preg_replace
2018-06-27 09:37:44 +02:00
Rodrigo Primo
b6e73f528b
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-15 14:56:31 -03:00
Claudiu Lodromanean
c203ff16d9
Merge pull request #20482 from woocommerce/fix/20452
...
Avoid price setting when synced with children
2018-06-15 09:05:13 -07:00
Mike Jolley
9a550c4a35
Update to correct type in unit test
2018-06-14 16:34:36 +01:00
Claudiu Lodromanean
73dbec001a
Merge pull request #20456 from JPry/custom_coupon_item_limit
...
Custom coupon item limit
2018-06-13 09:57:47 -07:00
Mike Jolley
77e887efe9
code standards
2018-06-13 16:55:39 +01:00
Mike Jolley
31058ac215
Tests -> CRUD
2018-06-13 16:30:42 +01:00
Gerhard Potgieter
ab769eb8a7
Update test_save_default_attributes to make use of propper attributes before checking defaults
2018-06-13 15:49:38 +02:00
Mike Jolley
812586742b
Allow only valid default attributes
2018-06-13 14:33:13 +01:00
Mike Jolley
9ec7eba0f6
update image URLs
2018-06-13 11:53:30 +01:00
Mike Jolley
c37f724326
Break up tests/test contents
2018-06-13 11:39:28 +01:00
Mike Jolley
01a3e359c3
Merge branch 'master' into feature/product-custom-tables-supporting-changes
2018-06-13 10:18:38 +01:00
Rodrigo Primo
69e1547cd9
Update e2e tests database to the latest WC db version
2018-06-12 09:02:40 -03:00
Brent Sessions
8fc43f0cad
Skip upload from forks ( #20462 )
...
This will skip the uploading of screenshots if the S3 key is not present. This will happen when there is a PR for a fork submitted.
* Skip upload from forks
* trying with failing test
* Fixing tests
* need a rebuild
2018-06-11 13:59:59 -03:00
Gerhard Potgieter
3b9d403b02
Add geolocation::get_ip_address tests
2018-06-11 11:10:11 +02:00
Claudiu Lodromanean
3d4dfda568
Merge pull request #20435 from rnaby/070618-212333-wc-privacy-exporters-customer_data_exporter
...
Removed unnecessary parameter. Also removed from tests.
2018-06-08 11:34:42 -07:00
Jeremy Pry
a2d3313b36
Add unit tests around coupon item limit setting
...
Also updates the `WC_Helper_Coupon` class to make it easier to register custom coupon types during tests.
For #20455
2018-06-08 14:17:39 -04:00
Rodrigo Primo
c2616b74f2
Merge pull request #20439 from woocommerce/update/improve-e2e-screenshots
...
Only try to upload screenshots if directory is not empty
2018-06-08 09:34:45 -03:00
Claudiu Lodromanean
dc20237f40
Merge pull request #20426 from woocommerce/fix/20386
...
Made path /orders/refund_id return invalid order id msg instead of error.
2018-06-07 10:50:46 -07:00
Khan M Rashedun-Naby
4b14cbc727
Removed unnecessary parameter. Also removed from tests.
2018-06-07 21:25:13 +06:00
Rodrigo Primo
cc4871e5ca
Only try to upload screenshots if directory is not empty
...
This commit adds a check before the code that uploads screenshots of failed e2e tests to make it run only if running the Travis build job that executed the tests and if the screenshots/ directory is not empty. There is no need to always download Travis artifacts and try to upload to S3 if there is nothing to upload.
2018-06-07 11:50:36 -03:00