From 6a654df444206a23ddf19aa0d768da634875d812 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 10 May 2018 22:21:55 +0200 Subject: [PATCH] Add a new contact to test rel=2 in tests See https://github.com/friendica/friendica/pull/5022#discussion_r187416029 --- tests/datasets/api.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/tests/datasets/api.yml b/tests/datasets/api.yml index 138e18e84..ae1fd3242 100644 --- a/tests/datasets/api.yml +++ b/tests/datasets/api.yml @@ -44,6 +44,18 @@ contact: url: http://localhost/profile/othercontact pending: false blocked: false + rel: 0 + network: dfrn + - + id: 44 + uid: 42 + name: Friend contact + nick: friendcontact + self: false + nurl: http://localhost/profile/friendcontact + url: http://localhost/profile/friendcontact + pending: false + blocked: false rel: 2 network: dfrn @@ -126,6 +138,20 @@ item: allow_gid: '' deny_cid: '' deny_gid: '' + - + id: 6 + visible: true + contact-id: 44 + author-id: 44 + owner-id: 42 + uid: 42 + verb: http://activitystrea.ms/schema/1.0/post + unseen: false + body: Friend user status + parent: 6 + author-link: http://localhost/profile/othercontact + wall: true + starred: false thread: - @@ -140,6 +166,12 @@ thread: contact-id: 43 uid: 0 wall: true + - + iid: 6 + visible: true + contact-id: 44 + uid: 0 + wall: true group: -