Revision 684dfbef
Von Bernd Bleßmann vor mehr als 7 Jahren hinzugefügt
t/helper/shipped_qty.t | ||
---|---|---|
192 | 192 |
->calculate($sales_order) |
193 | 193 |
->write_to_objects; |
194 | 194 |
|
195 |
is($sales_order->orderitems->[0]->{shipped_qty}, 5, "require_stock_out => 1: first sales orderitem has no shipped_qty");
|
|
196 |
ok($sales_order->orderitems->[0]->{delivered}, "require_stock_out => 1: first sales orderitem is not delivered");
|
|
195 |
is($sales_order->items_sorted->[0]->{shipped_qty}, 5, "require_stock_out => 1: first sales orderitem has no shipped_qty");
|
|
196 |
ok($sales_order->items_sorted->[0]->{delivered}, "require_stock_out => 1: first sales orderitem is not delivered");
|
|
197 | 197 |
|
198 | 198 |
$orderitem_part1 = SL::DB::Manager::OrderItem->find_by(parts_id => $part1->id, trans_id => $sales_order->id); |
199 | 199 |
|
Auch abrufbar als: Unified diff
t/helper/shipped_qty.t: Vergessene Items-Sortierung.