From 43a001bf73d801fd05d7765d7b93bf5e2e9bceaf Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 30 Dec 2021 21:57:55 +0100 Subject: [PATCH] Remove deprectated mediap tests --- tests/legacy/ApiTest.php | 43 ---------------------------------------- 1 file changed, 43 deletions(-) diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index fa1afbe6ed..955a25235a 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -638,49 +638,6 @@ class ApiTest extends FixtureTest ); } - /** - * Test the api_statuses_mediap() function. - * - * @return void - */ - public function testApiStatusesMediap() - { - /* - DI::args()->setArgc(2); - - $_FILES = [ - 'media' => [ - 'id' => 666, - 'size' => 666, - 'width' => 666, - 'height' => 666, - 'tmp_name' => $this->getTempImage(), - 'name' => 'spacer.png', - 'type' => 'image/png' - ] - ]; - $_GET['status'] = 'Status content'; - - $result = api_statuses_mediap('json'); - self::assertStatus($result['status']); - */ - } - - /** - * Test the api_statuses_mediap() function without an authenticated user. - * - * @return void - */ - public function testApiStatusesMediapWithoutAuthenticatedUser() - { - // $this->expectException(\Friendica\Network\HTTPException\UnauthorizedException::class); - // BasicAuth::setCurrentUserID(); - // $_SESSION['authenticated'] = false; - // api_statuses_mediap('json'); - } - - - /** * Test the api_get_entitities() function. *