From: Jan Büren Date: Tue, 5 Jul 2016 08:15:25 +0000 (+0200) Subject: PTC Test um Rundungsgenauigkeit ergänzt X-Git-Tag: release-3.4.1~6 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7a1bf140f74f815cb4ec84fb3e15bd6d1c931bca;p=kivitendo-erp.git PTC Test um Rundungsgenauigkeit ergänzt Der PriceTaxCalculator hat als Datenwert neuerdings die Rundungsgenauigkeit für den Modus Schweiz. Dies muss entsprechend im Tests des Moduls auch berücksichtigt werden. --- 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"); }