mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix tests
This commit is contained in:
parent
1a0fa269ef
commit
dea55e24c4
1 changed files with 10 additions and 0 deletions
|
@ -364,6 +364,11 @@ class PurchaseUnitTest extends TestCase
|
|||
],
|
||||
self::adaptAmountFormat([
|
||||
'value' => 10.69,
|
||||
'breakdown' => [
|
||||
'item_total' => 10.69,
|
||||
'tax_total' => 0,
|
||||
'shipping' => 0,
|
||||
],
|
||||
]),
|
||||
];
|
||||
}
|
||||
|
@ -432,6 +437,11 @@ class PurchaseUnitTest extends TestCase
|
|||
],
|
||||
self::adaptAmountFormat([
|
||||
'value' => 10.69,
|
||||
'breakdown' => [
|
||||
'item_total' => 10.69,
|
||||
'tax_total' => 0,
|
||||
'shipping' => 0,
|
||||
],
|
||||
], get_woocommerce_currency()),
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue