*
*/
+use Friendica\Model\Notify;
+
return [
// Empty these tables
'cache',
'blocked' => 0,
'rel' => 1,
'network' => 'dfrn',
+ 'location' => 'DFRN',
],
// Having the same name and nick allows us to test
// the fallback to api_get_nick() in api_get_user()
'blocked' => 0,
'rel' => 0,
'network' => 'dfrn',
+ 'location' => 'DFRN',
],
[
'id' => 44,
'blocked' => 0,
'rel' => 2,
'network' => 'dfrn',
+ 'location' => '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',
+ 'location' => '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',
+ 'location' => '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',
+ 'location' => 'DFRN',
],
],
'item-uri' => [
'allow_gid' => '',
'deny_cid' => '',
'deny_gid' => '',
+ 'guid' => '1',
+ 'plink' => 'http://localhost/display/1',
],
[
'id' => 2,
'wall' => 1,
'starred' => 0,
'origin' => 1,
+ 'guid' => '2',
+ 'plink' => 'http://localhost/display/2',
],
[
'wall' => 1,
'starred' => 0,
'origin' => 1,
+ 'guid' => '3',
+ 'plink' => 'http://localhost/display/3',
],
[
'id' => 4,
'wall' => 1,
'starred' => 0,
'origin' => 1,
+ 'guid' => '4',
+ 'plink' => 'http://localhost/display/4',
],
[
'allow_gid' => '',
'deny_cid' => '',
'deny_gid' => '',
+ 'guid' => '5',
+ 'plink' => 'http://localhost/display/5',
],
[
'id' => 6,
'wall' => 1,
'starred' => 0,
'origin' => 1,
+ 'guid' => '6',
+ 'plink' => 'http://localhost/display/6',
],
],
'notify' => [
'iid' => 4,
'seen' => 0,
'verb' => '',
- 'otype' => 'item',
+ 'otype' => Notify\ObjectType::ITEM,
'name_cache' => 'Reply to',
'msg_cache' => 'A test reply from an item',
],