]> git.mxchange.org Git - friendica.git/blobdiff - tests/datasets/api.fixture.php
[Tests] Add test for Module\Api\Twitter\ContactEndpoint
[friendica.git] / tests / datasets / api.fixture.php
index 54d4f4d3cf51bb943f46fb882d9f7c62fca46e1f..8bdb86892672ce71108732d44feda9cf8e86e729 100644 (file)
@@ -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'    => [
                [