From: Hypolite Petovan Date: Sat, 8 Dec 2018 04:51:08 +0000 (-0500) Subject: Unit test fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85eb6affdfda6701589b49b3bd05d22247f597ce;p=friendica.git Unit test fix --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 122e4c431d..870c9b1256 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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(); diff --git a/tests/datasets/api.yml b/tests/datasets/api.yml index 124c6b0d54..e4ef31219f 100644 --- a/tests/datasets/api.yml +++ b/tests/datasets/api.yml @@ -6,6 +6,7 @@ pconfig: photo: workerqueue: mail: +item-delivery-data: # Base test config to avoid notice messages config: