Rodrigo Primo
18ee70918b
Fix PHPCS violations in tests/ using PHPCBF
...
This commit fixes all 1533 PHPCS errors that PHPCBF can fix automatically in the tests/ directory. Before this change there was a total of 3106 PHPCS errors in the WooCommerce repository and now there is 1573 errors.
2019-05-01 19:05:00 -03:00
Claudio Sanches
a425e92672
Removed legacy "Orders index" tool
2019-03-15 11:34:32 +00:00
Mike Jolley
0877e7d8f7
Merge pull request #22954 from woocommerce/add/blocks-rest-api
...
Merge blocks branch: add 8 product blocks and related API endpoints
2019-03-11 15:18:20 +00:00
Mike Jolley
fbda3a91d8
Merge feature/add-tracks into master
2019-03-11 15:15:50 +00:00
Kelly Dwan
845300c975
Update test names and comments to reflect correct user role
2019-03-08 15:16:59 -05:00
Mike Jolley
15ca2144d3
Merge pull request #22773 from woocommerce/performance/delete-empty-meta
...
Performance: delete empty meta
2019-03-08 10:22:31 +00:00
Mike Jolley
e7c8db0796
Merge pull request #22887 from woocommerce/update/22882-additional-system-status-values
...
Additional System Status Options
2019-03-08 10:15:45 +00:00
Kelly Dwan
39a8bbf54c
Fix space/tab issue for phpcs
2019-03-07 12:32:55 -05:00
Mike Jolley
598ac86e95
Tests
2019-03-07 11:08:29 +00:00
Timmy Crawford
85713c4c1a
Updates per feedback.
2019-03-06 17:26:18 -05:00
Timmy Crawford
2b59c5db64
REST API: Add Blocks Products Controller
2019-03-06 17:26:17 -05:00
Timmy Crawford
e17d835e66
REST API: Add wc-blocks/v1/products/categories
2019-03-06 17:26:16 -05:00
Timmy Crawford
afdde006f1
Remove some copied 'terms' in the test file.
2019-03-06 17:26:16 -05:00
Timmy Crawford
f4e17ddcee
REST API: Add wc-blocks/v1/products/attributes controller.
2019-03-06 17:26:15 -05:00
Timmy Crawford
f2fa01d585
PHPCS fixes.
2019-03-06 17:26:15 -05:00
Timmy Crawford
c1313d433c
Updates per feedback.
2019-03-06 17:26:14 -05:00
Timmy Crawford
4311670956
REST API: wc-blocks/v1/products/attributes/%d/terms
2019-03-06 17:26:13 -05:00
Paul Sealock
d968b95b53
Add opt in/out to settings page
2019-03-05 11:06:45 +13:00
Mike Jolley
d45734b6f3
Tweak indexes tests to test shipping indexes correctly
2019-02-19 15:35:28 +00:00
Mike Jolley
b2c33b8e34
Merge branch 'master' into performance/slow-term-queries
2019-02-07 13:49:48 +00:00
Mike Jolley
de8ff9b719
phpcs
2019-02-01 14:38:47 +00:00
Mike Jolley
3697f5104a
fix uncat display
2019-02-01 13:08:04 +00:00
Mike Jolley
1e3e5a4528
Merge pull request #22580 from woocommerce/fix/22515
...
recalculate coupons after adding coupon to order
2019-01-31 14:38:59 +00:00
Mike Jolley
133d108bd8
Merge pull request #22269 from Prospress/fix/22247
...
convert user creation GMT datestamp to local datetime in API
2019-01-31 12:56:40 +00:00
Ron Rennick
28710a522e
phpcs sniff fixes for orders.php
2019-01-27 20:57:58 -04:00
Ron Rennick
d888f456f8
remove line item subtotal adjustment from api coupon unit test
2019-01-27 20:49:02 -04:00
Refael Iliaguyev
398bbe3754
sniff fixes
2019-01-23 17:26:17 +02:00
Refael Iliaguyev
8f0f22c11b
Fix ssl check in case shop page does not exists.
2019-01-23 16:08:13 +02:00
Ron Rennick
89ab2748da
update unit test to work when timezone_string is not set, add timezone assertions
2019-01-22 16:58:05 -04:00
claudiulodro
cdfe34f79a
skip couple tests on old versions
2019-01-21 10:02:55 -08:00
Mike Jolley
6367d19615
phpcs
2019-01-21 08:11:40 -08:00
Ron Rennick
5dac4075b2
phpcs sniff fixes for customers.php
2018-12-27 11:18:22 -04:00
Ron Rennick
bd65e65285
update customer unit test
2018-12-27 11:02:28 -04:00
claudiulodro
d1533261f5
Extra sanitizing around payment_method_title
2018-11-30 08:49:43 -08:00
Claudio Sanches
13b265a076
Fixed unit tests
2018-09-20 17:48:31 -03:00
Claudio Sanches
ac47cd6394
Test if coupon is invalid
2018-09-11 18:31:02 -03:00
Claudio Sanches
0d49421239
Fixed coding standards
2018-09-11 18:11:31 -03:00
Claudio Sanches
d4b1089150
Fixed unit tests
2018-09-11 18:11:11 -03:00
Claudio Sanches
518d1f0a00
Updated unit tests
2018-09-10 19:26:37 -03:00
Claudio Sanches
61873627a7
Merge branch 'master' into feature/rest-api-v3
2018-09-10 19:16:22 -03:00
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