From 9ade6c2b33834efea5892317795298a47f802cd3 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 3 Jun 2018 11:20:22 +0000 Subject: [PATCH] The testdata hadn't contained public contacts --- tests/datasets/api.yml | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/tests/datasets/api.yml b/tests/datasets/api.yml index ae1fd3242c..5955af0ec2 100644 --- a/tests/datasets/api.yml +++ b/tests/datasets/api.yml @@ -58,14 +58,40 @@ contact: blocked: false rel: 2 network: dfrn + - + id: 45 + uid: 0 + name: Self contact + nick: selfcontact + self: true + nurl: http://localhost/profile/selfcontact + url: http://localhost/profile/selfcontact + about: User used in tests + pending: false + blocked: false + rel: 0 + network: dfrn + - + id: 46 + uid: 0 + name: Friend contact + nick: friendcontact + self: false + nurl: http://localhost/profile/friendcontact + url: http://localhost/profile/friendcontact + pending: false + blocked: false + rel: 0 + network: dfrn + - item: - id: 1 visible: true contact-id: 42 - author-id: 42 - owner-id: 42 + author-id: 45 + owner-id: 45 uid: 42 verb: http://activitystrea.ms/schema/1.0/post unseen: true @@ -82,8 +108,8 @@ item: id: 2 visible: true contact-id: 42 - author-id: 42 - owner-id: 42 + author-id: 45 + owner-id: 45 uid: 42 verb: http://activitystrea.ms/schema/1.0/post unseen: false