projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209ae3b
)
tests: DeliveryOrder type
author
Sven Schöling
<s.schoeling@googlemail.com>
Sun, 5 Dec 2021 21:10:39 +0000
(22:10 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Mon, 14 Feb 2022 14:02:19 +0000
(15:02 +0100)
t/db_helper/record_links.t
patch
|
blob
|
history
diff --git
a/t/db_helper/record_links.t
b/t/db_helper/record_links.t
index
0c46af9
..
2c7ea4d
100644
(file)
--- 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;
}