zu 72ab222ccb9b Testfall korrigiert
authorJan Büren <jan@kivitendo.de>
Wed, 16 Jun 2021 09:59:18 +0000 (11:59 +0200)
committerJan Büren <jan@kivitendo.de>
Wed, 16 Jun 2021 09:59:18 +0000 (11:59 +0200)
t/wh/inventory.t

index 5b59c92..94214c9 100644 (file)
@@ -189,11 +189,11 @@ my @contents = WH->get_warehouse_journal(sort => 'date');
 cmp_deeply(\@contents,
            [ ignore(), ignore(),
               superhashof({
-                'comment'        => 'Used for assembly 6 Test Assembly',
+                'comment'        => 'Used for assembly '. $assembly1->partnumber .' Test Assembly',
                 'warehouse_from' => 'Warehouse'
               }),
               superhashof({
-                'comment'        => 'Used for assembly 6 Test Assembly',
+                'comment'        => 'Used for assembly '. $assembly1->partnumber .' Test Assembly',
                 'warehouse_from' => 'Warehouse'
               }),
               superhashof({