]> git.mxchange.org Git - friendica.git/blob - tests/src/Module/Api/Twitter/Statuses/DestroyTest.php
73f32c5d6b14ae891522fc3b57fa484f05211fbd
[friendica.git] / tests / src / Module / Api / Twitter / Statuses / DestroyTest.php
1 <?php
2
3 namespace Friendica\Test\src\Module\Api\Twitter\Statuses;
4
5 use Friendica\Test\src\Module\Api\ApiTest;
6
7 class DestroyTest extends ApiTest
8 {
9         /**
10          * Test the api_statuses_destroy() function.
11          *
12          * @return void
13          */
14         public function testApiStatusesDestroy()
15         {
16                 // $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class);
17                 // api_statuses_destroy('json');
18         }
19
20         /**
21          * Test the api_statuses_destroy() function without an authenticated user.
22          *
23          * @return void
24          */
25         public function testApiStatusesDestroyWithoutAuthenticatedUser()
26         {
27                 // $this->expectException(\Friendica\Network\HTTPException\UnauthorizedException::class);
28                 // BasicAuth::setCurrentUserID();
29                 // $_SESSION['authenticated'] = false;
30                 // api_statuses_destroy('json');
31         }
32
33         /**
34          * Test the api_statuses_destroy() function with an ID.
35          *
36          * @return void
37          */
38         public function testApiStatusesDestroyWithId()
39         {
40                 // DI::args()->setArgv(['', '', '', 1]);
41                 // $result = api_statuses_destroy('json');
42                 // self::assertStatus($result['status']);
43         }
44 }