mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
Add API test case for notification
This commit is contained in:
parent
582f6bd4a3
commit
5ccf41a56f
3 changed files with 43 additions and 5 deletions
|
@ -189,6 +189,25 @@ return [
|
|||
'origin' => 1,
|
||||
],
|
||||
],
|
||||
'notify' => [
|
||||
[
|
||||
'id' => 1,
|
||||
'type' => 8,
|
||||
'name' => 'Reply to',
|
||||
'url' => 'http://localhost/display/1',
|
||||
'photo' => 'http://localhost/',
|
||||
'date' => '2020-01-01 12:12:02',
|
||||
'msg' => 'A test reply from an item',
|
||||
'uid' => 42,
|
||||
'link' => 'http://localhost/notification/1',
|
||||
'iid' => 4,
|
||||
'seen' => 0,
|
||||
'verb' => '',
|
||||
'otype' => 'item',
|
||||
'name_cache' => 'Reply to',
|
||||
'msg_cache' => 'A test reply from an item',
|
||||
],
|
||||
],
|
||||
'thread' => [
|
||||
[
|
||||
'iid' => 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue