]> git.mxchange.org Git - friendica.git/blobdiff - tests/datasets/api.fixture.php
Update src/Worker/UpdateServerDirectory.php
[friendica.git] / tests / datasets / api.fixture.php
index 8713b1ff36479254260c9addbc77e5dd2ecb9d3a..0ff9a4a2147589594c8cd4bd75b8c5d24a662ed9 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'    => [
                [
@@ -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' => [
@@ -268,6 +319,7 @@ return [
        'thread'  => [
                [
                        'iid'        => 1,
+                       'uri-id'     => 1,
                        'visible'    => 1,
                        'contact-id' => 42,
                        'author-id'  => 42,
@@ -277,6 +329,7 @@ return [
                ],
                [
                        'iid'        => 3,
+                       'uri-id'     => 3,
                        'visible'    => 1,
                        'contact-id' => 43,
                        'author-id'  => 43,
@@ -286,6 +339,7 @@ return [
                ],
                [
                        'iid'        => 6,
+                       'uri-id'     => 6,
                        'visible'    => 1,
                        'contact-id' => 44,
                        'author-id'  => 44,