Commit Graph

64 Commits

Author SHA1 Message Date
Mike Jolley 18b45f55cd @claudiosmweb unregister_shipping_methods didn't unset correctly - this fixes unit tests 2016-05-26 13:03:40 +01:00
Mike Jolley e00c3450c5 Discount rounding logic improvements
Instead of rounding the single item discount amount, this rounds the
line to the store DP setting before running tax logic.

Fixes #10963
Also works with #10573

Includes unit tests
2016-05-23 16:56:31 +01:00
Mike Jolley 26db1bb52b Add test case for #10963 2016-05-23 16:23:51 +01:00
Mike Jolley 2fec0f425a Remove namespaces from tests for 5.2 support 2016-03-23 12:14:13 +00:00
Justin Shreve d738dec05d Coupon CRUD (WIP). 2016-03-17 09:19:27 -07:00
Claudio Sanches 2cc13b6409 Fixed unit tests #10114 2016-01-21 20:19:03 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Claudio Sanches f3694cf17b Fixed tests for the new cart and coupons functions 2015-10-28 16:09:53 -02:00
Claudio Sanches c324c66acc Fixed tests for #8835 2015-08-14 15:39:20 -03:00
Claudio Sanches 409dd81ab9 Fixed unit tests for WC_Cart::get_remove_url() 2015-07-14 12:02:32 -03:00
Claudio Sanches ac8f18a721 Fixed unit tests
@mikejolley
2015-07-08 23:40:29 -03:00
Claudio Sanches eff9b5ec18 Fixed test for wc_format_list_of_items 2015-05-28 10:28:49 -03:00
Nicola Mustone 839b5a4aa5 Tests for wc_format_list_of_items, wc_cart_totals_subtotal_html, wc_cart_totals_coupon_label 2015-04-14 16:37:10 +02:00
Barry Kooij d6b970a61d Namespace the Unit Tests 2015-03-06 16:32:40 +01:00