Test fix: Add expected author-network field to api_get_item() result

This commit is contained in:
Hypolite Petovan 2019-03-04 05:59:53 -05:00
parent 9693a7472e
commit 8d28f199a6

View file

@ -1294,7 +1294,7 @@ function api_get_last_status($ownerId, $uid, $type = 'json')
*/ */
function api_get_item(array $condition) function api_get_item(array $condition)
{ {
$item = Item::selectFirst(Item::ITEM_FIELDLIST, $condition, ['order' => ['id' => true]]); $item = Item::selectFirst(Item::DISPLAY_FIELDLIST, $condition, ['order' => ['id' => true]]);
return $item; return $item;
} }