Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 684dfbef

Von Bernd Bleßmann vor mehr als 7 Jahren hinzugefügt

  • ID 684dfbefa1db8697d3786f6b700c33e014181941
  • Vorgänger 5e9cedf7
  • Nachfolger 34925210

t/helper/shipped_qty.t: Vergessene Items-Sortierung.

Unterschiede anzeigen:

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