mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Fix phpunit
This commit is contained in:
parent
e9cf818799
commit
372884ce16
2 changed files with 33 additions and 1 deletions
|
@ -59,7 +59,6 @@ class ItemFactory {
|
|||
$price_without_tax_rounded = round( $price_without_tax, 2 );
|
||||
$tax = round( $price - $price_without_tax_rounded, 2 );
|
||||
$tax_rates = WC_Tax::get_rates( $product->get_tax_class() );
|
||||
$tax = new Money( $tax + $shipping_tax, $this->currency );
|
||||
$tax = new Money( $tax, $this->currency );
|
||||
return new Item(
|
||||
mb_substr( $product->get_name(), 0, 127 ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue