]> git.mxchange.org Git - friendica.git/blob - tests/src/Module/Api/Mastodon/Accounts/StatusesTest.php
Reenable Twitter/Destroy tests
[friendica.git] / tests / src / Module / Api / Mastodon / Accounts / StatusesTest.php
1 <?php
2
3 namespace Friendica\Test\src\Module\Api\Mastodon\Accounts;
4
5 use Friendica\Test\src\Module\Api\ApiTest;
6
7 class StatusesTest extends ApiTest
8 {
9         /**
10          * Test the api_status_show() function.
11          */
12         public function testApiStatusShowWithJson()
13         {
14                 self::markTestIncomplete('Needs Statuses to not set header during call (like at BaseApi::setLinkHeader');
15
16                 // $result = api_status_show('json', 1);
17                 // self::assertStatus($result['status']);
18         }
19
20         /**
21          * Test the api_status_show() function with an XML result.
22          */
23         public function testApiStatusShowWithXml()
24         {
25                 self::markTestIncomplete('Needs Statuses to not set header during call (like at BaseApi::setLinkHeader');
26
27                 // $result = api_status_show('xml', 1);
28                 // self::assertXml($result, 'statuses');
29         }
30 }