woocommerce/tests/unit-tests
Cesar Rodas c96c62f380 Improved how taxes are applied
If by default the taxes are based on the shipping address and the current order doesn't have any, it would use the billing address rather than using the Shopping base location.

It's basically what WooCommerce is [doing already in Javascript](https://github.com/woocommerce/woocommerce/blob/master/assets/js/admin/meta-boxes-order.js#L526-L575). This kind of checks should be done in the backend, never in the client side.
2017-06-01 15:51:55 -04:00
..
account update test 2017-04-25 14:46:17 +01:00
api Makes sure that the 'base location' setting is returned to the /settings/general endpoint correctly. It uses a special setting type that the API didn't handle properly. 2017-05-15 10:21:06 -07:00
cart Revert to original behavior 2017-03-07 13:17:36 -08:00
coupon Fixed coding standards 2017-03-21 12:38:35 -03:00
crud Unit test showing the issue 2017-05-30 14:12:11 +01:00
customer Add display_name to customer data store 2017-05-24 13:57:11 -04:00
exporter Exporter tests and tweaks 2017-05-25 12:33:14 -07:00
formatting Code and test improvements 2017-05-30 11:54:31 +01:00
importer Skip empty attributes and reset indexes 2017-05-30 19:26:31 -03:00
log Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
order Improved how taxes are applied 2017-06-01 15:51:55 -04:00
order-items Formatting 2017-05-25 14:45:36 -07:00
payment-tokens Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
product Fix tests due to generated names 2017-05-31 13:48:28 +01:00
settings Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
shipping-zones Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
tax Introduce get_tax_class_slugs. 2017-01-25 13:38:13 -08:00
util Add restored webhook 2017-04-27 11:44:57 -07:00