From 8acf738197dda1466789d6233e27b4a8b48edfe8 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 4 Feb 2022 15:06:02 +1100 Subject: [PATCH] Fixes for tests --- tests/Unit/InvoiceItemV2Test.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Unit/InvoiceItemV2Test.php b/tests/Unit/InvoiceItemV2Test.php index 2b82216316d7..28b0cd2f5e4f 100644 --- a/tests/Unit/InvoiceItemV2Test.php +++ b/tests/Unit/InvoiceItemV2Test.php @@ -251,7 +251,9 @@ class InvoiceItemV2Test extends TestCase $item->cost = 10; $item->is_amount_discount = true; $item->discount = 2.521254522145214511; + $item->tax_name1 = 'GST'; $item->tax_rate1 = 10; + $item->tax_name2 = 'VAT'; $item->tax_rate2 = 17.5; $this->invoice->line_items = [$item];