Fixed unit tests

This commit is contained in:
Mike Jolley 2016-08-08 17:47:50 +01:00
parent 39eb584321
commit 971cff77b8
1 changed files with 1 additions and 1 deletions

View File

@ -1206,7 +1206,7 @@ abstract class WC_Abstract_Order extends WC_Abstract_Legacy_Order {
// Inherit tax class from items
if ( '' === $shipping_tax_class ) {
$tax_rates = array();
$tax_classes = WC_Tax::get_tax_classes();
$tax_classes = array_merge( array( '' ), WC_Tax::get_tax_classes() );
$found_tax_classes = $this->get_items_tax_classes();
foreach ( $tax_classes as $tax_class ) {