From: Michael Date: Thu, 28 Jan 2021 23:17:58 +0000 (+0000) Subject: Providing more test data X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8deabf5c2e2d64f3f6b9a252efbdefb534e205c5;p=friendica.git Providing more test data --- diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index 2e4689dd80..89a3f8dba1 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -222,7 +222,58 @@ return [ 'body' => 'Friend user status', 'plink' => 'http://localhost/display/6', ], - ], + ], + 'post-user' => [ + [ + 'id' => 1, + 'uri-id' => 1, + 'uid' => 42, + 'contact-id' => 42, + 'unseen' => 1, + 'origin' => 1, + ], + [ + 'id' => 2, + 'uri-id' => 2, + 'uid' => 42, + 'contact-id' => 42, + 'unseen' => 0, + 'origin' => 1, + ], + [ + 'id' => 3, + 'uri-id' => 3, + 'uid' => 42, + 'contact-id' => 43, + 'unseen' => 0, + 'origin' => 1, + ], + [ + 'id' => 4, + 'uri-id' => 4, + 'uid' => 42, + 'contact-id' => 44, + 'unseen' => 0, + 'origin' => 1, + ], + [ + 'id' => 5, + 'uri-id' => 5, + 'uid' => 42, + 'contact-id' => 42, + 'unseen' => 0, + 'origin' => 1, + ], + [ + 'id' => 6, + 'uri-id' => 6, + 'uid' => 42, + 'contact-id' => 44, + 'unseen' => 0, + 'origin' => 1, + ], + + ], 'item' => [ [ 'id' => 1,