From 7a1bf140f74f815cb4ec84fb3e15bd6d1c931bca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 5 Jul 2016 10:15:25 +0200 Subject: [PATCH] =?utf8?q?PTC=20Test=20um=20Rundungsgenauigkeit=20erg?= =?utf8?q?=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Der PriceTaxCalculator hat als Datenwert neuerdings die Rundungsgenauigkeit für den Modus Schweiz. Dies muss entsprechend im Tests des Moduls auch berücksichtigt werden. --- t/db_helper/price_tax_calculator.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/db_helper/price_tax_calculator.t b/t/db_helper/price_tax_calculator.t index 0fa0fe5d1..8f09a4cda 100644 --- a/t/db_helper/price_tax_calculator.t +++ b/t/db_helper/price_tax_calculator.t @@ -177,6 +177,7 @@ sub test_default_invoice_one_item_19_tax_not_included() { taxkey_id => $taxkey->id, }, ], + rounding => 0, }, "${title}: calculated data"); } @@ -264,6 +265,7 @@ sub test_default_invoice_two_items_19_7_tax_not_included() { taxkey_id => $taxkey2->id, }, ], + rounding => 0, }, "${title}: calculated data"); } @@ -382,6 +384,7 @@ sub test_default_invoice_three_items_sellprice_rounding_discount() { taxkey_id => $taxkeys{$item3->parts_id}->id, } ], + rounding => 0, }, "${title}: calculated data"); } @@ -445,6 +448,7 @@ sub test_default_invoice_one_item_19_tax_not_included_rounding_discount() { taxkey_id => $taxkeys{$item->parts_id}->id, }, ], + rounding => 0, }, "${title}: calculated data"); } -- 2.20.1