Christopher Allford
027257f624
Changed the dummy postal code in the order helper to a valid one
2019-12-26 13:55:42 +05:30
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
f0b6e3fc33
Test removing fee_lines from order in REST API
2017-11-21 16:07:03 -02:00
Mike Jolley
06381f28bd
Edit items rather than recreate
2017-08-10 11:38:09 +01:00
James Collins
285daf466b
Correctly calculate order total when adding the product
2017-04-06 18:02:06 +08:00
James Collins
09cbf5f816
Avoid deprecated warning when creating an order in unit tests
...
Unexpected deprecated notice for Action: woocommerce_order_add_product
2017-04-06 17:11:59 +08:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
66914966fb
Adjust meta saving code throughout
...
#12885
2017-01-23 11:30:53 +00:00
Dwain Maralack
e8fc25bb00
Unit Tests: Add new parameter to order helper create_order method to allow clients to override the default product.
2017-01-05 11:23:22 +02:00
Justin Shreve
b20b3590c8
First pass at order items
2016-11-21 10:56:21 -08:00
Mike Jolley
a8e47992a6
Put back add_product for convenience. Fix unit tests.
2016-08-22 18:00:52 +01:00
Mike Jolley
3d696266d2
Set_address
2016-08-22 17:03:59 +01:00
Mike Jolley
c88984eb0e
Replace add methods
2016-08-22 16:48:19 +01:00
Mike Jolley
fc386f054b
Delete order after running test
2016-08-15 11:15:03 +01:00
Mike Jolley
f03d439259
Unit test fixes
2016-08-15 11:02:55 +01:00
Mike Jolley
4ac4bcaa08
Merge branch 'master' into WC-CRUD
...
# Conflicts:
# tests/unit-tests/cart/cart.php
2016-08-09 11:08:21 +01:00
Mike Jolley
9c7abaedcb
Fixed unit tests
2016-06-22 12:29:23 +01:00
Justin Shreve
0f1f6dddd1
Finish customer crud tests
2016-03-17 09:41:12 -07:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Claudio Sanches
0361a10e26
Removed instances of WC_Order in favor to wc_get_order(), closes #8689
2015-07-30 15:07:34 -03:00
JeroenSormani
7dde4f58c7
WC_Helper_Order class convert tab alignment to spaces
2015-05-23 10:57:06 +02:00
JeroenSormani
280904f9b4
WC_Helper_Order order total correct
2015-05-23 10:54:14 +02:00
JeroenSormani
59a4ca5fa6
Add WC_Helper_Order class
2015-05-23 10:52:06 +02:00