]> git.mxchange.org Git - friendica.git/blobdiff - tests/datasets/api.fixture.php
Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes
[friendica.git] / tests / datasets / api.fixture.php
index 2c6512f8c62b6b5c638fdf1a7c66326370463765..9e0174c029009cf0d29cf2b7107567ff6a1ffa2d 100644 (file)
@@ -26,6 +26,8 @@ use Friendica\Model\Notification;
 
 return [
        // Empty these tables
+       'profile_field',
+       'permissionset',
        'cache',
        'conversation',
        'pconfig',
@@ -301,6 +303,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                ],
@@ -315,6 +318,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                ],
@@ -329,6 +333,7 @@ return [
                        'causer-id'     => 43,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                ],
@@ -343,6 +348,7 @@ return [
                        'causer-id'     => 44,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                ],
@@ -357,6 +363,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                ],
@@ -371,6 +378,7 @@ return [
                        'causer-id'     => 44,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                ],
@@ -390,6 +398,7 @@ return [
                        'parent-uri-id' => 1,
                        'thr-parent-id' => 1,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'gravity'       => GRAVITY_PARENT,
                        'network'       => Protocol::DFRN,
                        'wall'          => 1,
@@ -411,6 +420,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 1,
@@ -431,6 +441,7 @@ return [
                        'causer-id'     => 43,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 1,
@@ -451,6 +462,7 @@ return [
                        'causer-id'     => 44,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 1,
@@ -471,6 +483,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 1,
@@ -491,6 +504,7 @@ return [
                        'causer-id'     => 44,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 1,
@@ -511,6 +525,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 0,
@@ -531,6 +546,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 0,
@@ -551,6 +567,7 @@ return [
                        'causer-id'     => 43,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 0,
@@ -571,6 +588,7 @@ return [
                        'causer-id'     => 44,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 0,
@@ -591,6 +609,7 @@ return [
                        'causer-id'     => 42,
                        'vid'           => 8,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'visible'       => 1,
                        'deleted'       => 0,
                        'wall'          => 0,
@@ -609,6 +628,7 @@ return [
                        'parent-uri-id' => 6,
                        'thr-parent-id' => 6,
                        'private'       => Item::PUBLIC,
+                       'global'        => true,
                        'gravity'       => GRAVITY_PARENT,
                        'network'       => Protocol::DFRN,
                        'origin'        => 0,
@@ -732,7 +752,7 @@ return [
                        'link' => 'http://localhost/notification/1',
                        'iid' => 4,
                        'seen' => 0,
-                       'verb' => '',
+                       'verb' => \Friendica\Protocol\Activity::POST,
                        'otype' => Notification\ObjectType::ITEM,
                        'name_cache' => 'Reply to',
                        'msg_cache' => 'A test reply from an item',