From: Sven Schöling Date: Sun, 5 Dec 2021 21:10:39 +0000 (+0100) Subject: tests: DeliveryOrder type X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~216^2~43 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4678f5dca4c4f28b44fa9378b197faeee8bf4db1;p=kivitendo-erp.git tests: DeliveryOrder type --- diff --git a/t/db_helper/record_links.t b/t/db_helper/record_links.t index 0c46af925..2c7ea4db6 100644 --- a/t/db_helper/record_links.t +++ b/t/db_helper/record_links.t @@ -19,6 +19,7 @@ use SL::DB::Employee; use SL::DB::Invoice; use SL::DB::Order; use SL::DB::DeliveryOrder; +use SL::DB::DeliveryOrder::TypeData qw(:types); use SL::DB::Part; use SL::DB::Unit; use SL::DB::TaxZone; @@ -86,6 +87,7 @@ sub new_delivery_order { employee_id => $employee->id, salesman_id => $employee->id, taxzone_id => $taxzone->id, + order_type => SALES_DELIVERY_ORDER_TYPE, %params, )->save; }