]> git.mxchange.org Git - friendica.git/commitdiff
Add a new contact to test rel=2 in tests
authorPierre Rudloff <contact@rudloff.pro>
Thu, 10 May 2018 20:21:55 +0000 (22:21 +0200)
committerPierre Rudloff <contact@rudloff.pro>
Thu, 10 May 2018 20:21:55 +0000 (22:21 +0200)
See https://github.com/friendica/friendica/pull/5022#discussion_r187416029

tests/datasets/api.yml

index 138e18e842c7cf3e60887f35f829d949a774220d..ae1fd3242caaab7601284c87986510e1a35f9f6e 100644 (file)
@@ -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:
     -