Add API test case for notification

This commit is contained in:
nupplaPhil 2020-01-28 22:00:21 +01:00
parent 582f6bd4a3
commit 5ccf41a56f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
3 changed files with 43 additions and 5 deletions

View file

@ -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,