From 08940bdaa96922fd405d25f52adb095447d6e39f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 19 Mar 2023 20:32:33 +1100 Subject: [PATCH] Tests for taxes --- tests/Unit/Tax/SumTaxTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Unit/Tax/SumTaxTest.php b/tests/Unit/Tax/SumTaxTest.php index 23bc7bd34450..73cfcc06ffa2 100644 --- a/tests/Unit/Tax/SumTaxTest.php +++ b/tests/Unit/Tax/SumTaxTest.php @@ -32,9 +32,9 @@ class SumTaxTest extends TestCase "geoCounty" => "RIVERSIDE", "geoState" => "CA", "taxSales" => 0.0875, - "taxUse" => 0.0875, - "txbService" => "N", - "txbFreight" => "N", + "taxUse" => 0.0875, // tax amount where destination does not charge sales tax, but origin does + "txbService" => "N", // whether services are taxed in this locale + "txbFreight" => "N", // whether freight is taxes in this locale "stateSalesTax" => 0.06, "stateUseTax" => 0.06, "citySalesTax" => 0.01, @@ -59,8 +59,8 @@ class SumTaxTest extends TestCase "district4UseTax" => 0.01, "district5Code" => "", "district5SalesTax" => 0, - "district5UseTax" => 0, - "originDestination" => "D", + "district5UseTax" => 0, //district1-5 portion of the district tax + "originDestination" => "D", //location where this is taxed origin/destination/null ], ] ];