X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fdatasets%2Fapi.fixture.php;h=0ff9a4a2147589594c8cd4bd75b8c5d24a662ed9;hb=22db644295ada6e2f8e3203cae0e8bebb3ed0377;hp=54d4f4d3cf51bb943f46fb882d9f7c62fca46e1f;hpb=19f2a998d228c1485219c0e31af3eb35b38eef7f;p=friendica.git diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index 54d4f4d3cf..0ff9a4a214 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -99,6 +99,45 @@ return [ 'rel' => 2, 'network' => 'dfrn', ], + [ + 'id' => 45, + 'uid' => 0, + 'name' => 'Friend contact', + 'nick' => 'friendcontact', + 'self' => 0, + 'nurl' => 'http://localhost/profile/friendcontact', + 'url' => 'http://localhost/profile/friendcontact', + 'pending' => 0, + 'blocked' => 0, + 'rel' => 2, + 'network' => 'dfrn', + ], + [ + 'id' => 46, + 'uid' => 42, + 'name' => 'Mutual contact', + 'nick' => 'mutualcontact', + 'self' => 0, + 'nurl' => 'http://localhost/profile/mutualcontact', + 'url' => 'http://localhost/profile/mutualcontact', + 'pending' => 0, + 'blocked' => 0, + 'rel' => 3, + 'network' => 'dfrn', + ], + [ + 'id' => 47, + 'uid' => 0, + 'name' => 'Mutual contact', + 'nick' => 'mutualcontact', + 'self' => 0, + 'nurl' => 'http://localhost/profile/mutualcontact', + 'url' => 'http://localhost/profile/mutualcontact', + 'pending' => 0, + 'blocked' => 0, + 'rel' => 2, + 'network' => 'dfrn', + ], ], 'item-uri' => [ [ @@ -153,6 +192,8 @@ return [ 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '', + 'guid' => '1', + 'plink' => 'http://localhost/display/1', ], [ 'id' => 2, @@ -170,6 +211,8 @@ return [ 'wall' => 1, 'starred' => 0, 'origin' => 1, + 'guid' => '2', + 'plink' => 'http://localhost/display/2', ], [ @@ -188,6 +231,8 @@ return [ 'wall' => 1, 'starred' => 0, 'origin' => 1, + 'guid' => '3', + 'plink' => 'http://localhost/display/3', ], [ 'id' => 4, @@ -205,6 +250,8 @@ return [ 'wall' => 1, 'starred' => 0, 'origin' => 1, + 'guid' => '4', + 'plink' => 'http://localhost/display/4', ], [ @@ -227,6 +274,8 @@ return [ 'allow_gid' => '', 'deny_cid' => '', 'deny_gid' => '', + 'guid' => '5', + 'plink' => 'http://localhost/display/5', ], [ 'id' => 6, @@ -244,6 +293,8 @@ return [ 'wall' => 1, 'starred' => 0, 'origin' => 1, + 'guid' => '6', + 'plink' => 'http://localhost/display/6', ], ], 'notify' => [