Test angepasst:Kundenauftrag -> Lieferantenauftrag: delivered_flag wird nicht generel...
authorMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Mon, 8 Oct 2018 14:18:14 +0000 (16:18 +0200)
committerJan Büren <jan@kivitendo.de>
Wed, 23 Jun 2021 10:59:21 +0000 (12:59 +0200)
zu #8469

t/helper/shipped_qty.t

index 7b3bc3a..41a91bd 100644 (file)
@@ -94,7 +94,8 @@ note('converting purchase order to delivery order');
 # create purchase delivery order from purchase order
 my $purchase_delivery_order = $purchase_order->convert_to_delivery_order;
 is($purchase_order->closed,    0, 'purchase order is open');
-ok($purchase_order->delivered,    'purchase order is now delivered');
+note('purchase order is not general now delivered');
+ok(!$purchase_order->delivered,   'purchase order is not delivered');
 
 SL::Helper::ShippedQty
   ->new(require_stock_out => 0)