X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fdatasets%2Fapi.fixture.php;h=9e0174c029009cf0d29cf2b7107567ff6a1ffa2d;hb=56f8adcb80a9005302a7896c63d868eff6779845;hp=2c6512f8c62b6b5c638fdf1a7c66326370463765;hpb=c41aaf8a17405e4e11366fec14519994612744b1;p=friendica.git diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index 2c6512f8c6..9e0174c029 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -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',