Fix tests

This commit is contained in:
Pedro Silva 2023-08-08 17:01:03 +01:00
parent 1a0fa269ef
commit dea55e24c4
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3

View file

@ -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()),
];
}