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';
|
$_GET['getUserObjects'] = 'false';
|
||||||
$result = api_format_messages(
|
$result = api_format_messages(
|
||||||
['id' => 1, 'title' => 'item_title', 'body' => '[b]item_body[/b]'],
|
['id' => 1, 'uri-id' => 1, 'title' => 'item_title', 'body' => '[b]item_body[/b]'],
|
||||||
['id' => 2, 'screen_name' => 'recipient_name'],
|
['id' => 2, 'uri-id' => 2, 'screen_name' => 'recipient_name'],
|
||||||
['id' => 3, 'screen_name' => 'sender_name']
|
['id' => 3, 'uri-id' => 3, 'screen_name' => 'sender_name']
|
||||||
);
|
);
|
||||||
self::assertTrue(!isset($result['sender']));
|
self::assertTrue(!isset($result['sender']));
|
||||||
self::assertTrue(!isset($result['recipient']));
|
self::assertTrue(!isset($result['recipient']));
|
||||||
|
|
Loading…
Reference in a new issue