Revision 6c4c5b35
Von Sven Schöling vor mehr als 7 Jahren hinzugefügt
t/helper/shipped_qty.t | ||
---|---|---|
125 | 125 |
is($purchase_order->orderitems->[0]->{shipped_qty}, 11, "require_stock_out => 1: first purchase orderitem has shipped_qty"); |
126 | 126 |
is($purchase_order->orderitems->[0]->{delivered}, 1, "require_stock_out => 1: first purchase orderitem is delivered"); |
127 | 127 |
|
128 |
my $purchase_orderitem_part1 = SL::DB::Manager::OrderItem->find_by(parts_id => $part1->id, trans_id => $purchase_order->id);
|
|
128 |
my $purchase_orderitem_part2 = SL::DB::Manager::OrderItem->find_by(parts_id => $part1->id, trans_id => $purchase_order->id);
|
|
129 | 129 |
|
130 |
is($purchase_orderitem_part1->shipped_qty(require_stock_out => 1), 11, "OrderItem shipped_qty from helper ok");
|
|
130 |
is($purchase_orderitem_part2->shipped_qty(require_stock_out => 1), 11, "OrderItem shipped_qty from helper ok");
|
|
131 | 131 |
|
132 | 132 |
|
133 | 133 |
note('testing sales, no fill_up'); |
Auch abrufbar als: Unified diff
t/helper/shipped_qty.t: doppelte deklaration umbenannt