From 909fd0dd0c7ba205d88a15433887774dbeb2b7db Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 28 Jul 2023 14:28:05 +1200 Subject: [PATCH] Find where we are not setting tax_amount --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 2186a2b2c0..cdd5a77d49 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -3369,6 +3369,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { 'contribution_id' => $contribution['id'], 'return' => ['tax_amount', 'line_total', 'entity_table', 'entity_id', 'qty'], ])['values']; + $this->assertIsNumeric($contribution['tax_amount']); $total = 0; $taxTotal = 0; $memberships = []; -- 2.25.1