t/helper/shipped_qty.t: Items des richtigen Objekts vor dem Neuladen vergessen.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Sat, 19 Aug 2017 12:26:29 +0000 (14:26 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Sat, 19 Aug 2017 12:26:29 +0000 (14:26 +0200)
t/helper/shipped_qty.t

index b1b62a3..7504bea 100644 (file)
@@ -143,7 +143,7 @@ my $sales_order = SL::Dev::Record::create_sales_order(
                 ]
 );
 
-Rose::DB::Object::Helpers::forget_related($purchase_order, 'orderitems');
+Rose::DB::Object::Helpers::forget_related($sales_order, 'orderitems');
 $sales_order->orderitems;
 
 SL::Helper::ShippedQty