Revision fcde4c20
Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt
t/wh/transfer.t | ||
---|---|---|
26 | 26 |
SL::DB::Manager::Warehouse->delete_all(where => [ description => NAME() ]); |
27 | 27 |
|
28 | 28 |
# Create test data |
29 |
$part = SL::DB::Part->new(unit => 'mg', description => NAME(), partnumber => NAME()); |
|
29 |
$part = SL::DB::Part->new(unit => 'mg', description => NAME(), partnumber => NAME(), part_type => 'part');
|
|
30 | 30 |
$part->save(); |
31 | 31 |
|
32 | 32 |
is(ref($part), 'SL::DB::Part', 'loading a part to test with id ' . $part->id); |
Auch abrufbar als: Unified diff
Ware/Erzeugnis/Dienstleistung per parts.part_type unterscheiden 2
kivitendo Code angepasst.