Fixed unit tests
This commit is contained in:
parent
39eb584321
commit
971cff77b8
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue