mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:02:54 +00:00
Fix tests
This commit is contained in:
parent
e5e3143293
commit
49c59fed2c
1 changed files with 3 additions and 3 deletions
|
@ -2247,9 +2247,9 @@ class ApiTest extends FixtureTest
|
|||
{
|
||||
$_GET['getUserObjects'] = 'false';
|
||||
$result = api_format_messages(
|
||||
['id' => 1, 'title' => 'item_title', 'body' => '[b]item_body[/b]'],
|
||||
['id' => 2, 'screen_name' => 'recipient_name'],
|
||||
['id' => 3, 'screen_name' => 'sender_name']
|
||||
['id' => 1, 'uri-id' => 1, 'title' => 'item_title', 'body' => '[b]item_body[/b]'],
|
||||
['id' => 2, 'uri-id' => 2, 'screen_name' => 'recipient_name'],
|
||||
['id' => 3, 'uri-id' => 3, 'screen_name' => 'sender_name']
|
||||
);
|
||||
self::assertTrue(!isset($result['sender']));
|
||||
self::assertTrue(!isset($result['recipient']));
|
||||
|
|
Loading…
Reference in a new issue