Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6c4c5b35

Von Sven Schöling vor mehr als 7 Jahren hinzugefügt

  • ID 6c4c5b35e331d732d51a3913ae7a79935a8b1e17
  • Vorgänger c5046709
  • Nachfolger e5e8dfae

t/helper/shipped_qty.t: doppelte deklaration umbenannt

Unterschiede anzeigen:

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