Typos in Doku
[kivitendo-erp.git] / t / db_helper / price_tax_calculator.t
index 0fa0fe5..22f4165 100644 (file)
@@ -62,6 +62,7 @@ sub reset_state {
     description        => 'Fourty-two fifty-four',
     lastcost           => 1.93,
     sellprice          => 2.34,
+    part_type          => 'part',
     buchungsgruppen_id => $buchungsgruppe->id,
     unit               => $unit->name,
     %{ $params{part1} }
@@ -72,6 +73,7 @@ sub reset_state {
     description        => 'Zero EIGHT fifteeN @ 7%',
     lastcost           => 5.473,
     sellprice          => 9.714,
+    part_type          => 'part',
     buchungsgruppen_id => $buchungsgruppe7->id,
     unit               => $unit->name,
     %{ $params{part2} }
@@ -82,6 +84,7 @@ sub reset_state {
     description        => 'Triple 8',
     lastcost           => 0,
     sellprice          => 0.6,
+    part_type          => 'part',
     buchungsgruppen_id => $buchungsgruppe->id,
     unit               => $unit->name,
     %{ $params{part3} }
@@ -177,6 +180,7 @@ sub test_default_invoice_one_item_19_tax_not_included() {
         taxkey_id                                => $taxkey->id,
       },
     ],
+    rounding                                    =>  0,
   }, "${title}: calculated data");
 }
 
@@ -264,6 +268,7 @@ sub test_default_invoice_two_items_19_7_tax_not_included() {
         taxkey_id                                => $taxkey2->id,
       },
     ],
+    rounding                                    =>  0,
   }, "${title}: calculated data");
 }
 
@@ -382,6 +387,7 @@ sub test_default_invoice_three_items_sellprice_rounding_discount() {
         taxkey_id                                => $taxkeys{$item3->parts_id}->id,
       }
     ],
+    rounding                                    =>  0,
   }, "${title}: calculated data");
 }
 
@@ -445,6 +451,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");
 }