From 85eb6affdfda6701589b49b3bd05d22247f597ce Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 7 Dec 2018 23:51:08 -0500 Subject: [PATCH] Unit test fix --- src/Model/Item.php | 2 +- tests/datasets/api.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: -- 2.39.5