]> git.mxchange.org Git - friendica.git/commitdiff
Unit test fix
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 8 Dec 2018 04:51:08 +0000 (23:51 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 21 Jan 2019 14:39:14 +0000 (09:39 -0500)
src/Model/Item.php
tests/datasets/api.yml

index 122e4c431d8be10a4f73dfb4e9ce953aab10b9ad..870c9b1256c16d5cd3ab51c4a3c5334d192ec85b 100644 (file)
@@ -1799,7 +1799,7 @@ class Item extends BaseObject
                        self::updateThread($parent_id);
                }
 
-               ItemDeliveryData::insert($item['id'], $delivery_data);
+               ItemDeliveryData::insert($current_post, $delivery_data);
 
                DBA::commit();
 
index 124c6b0d541c51ec8314a38581ffd6a52db4f757..e4ef31219f6400aefc5fec4e1b6607ec1cc8c8b9 100644 (file)
@@ -6,6 +6,7 @@ pconfig:
 photo:
 workerqueue:
 mail:
+item-delivery-data:
 
 # Base test config to avoid notice messages
 config: