From bca5238b41731f0554e3b924eb11efe3a59c6c02 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 15 Jul 2021 13:37:48 +0000 Subject: [PATCH] Removed test --- tests/legacy/ApiTest.php | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 34cf1e7c6..0f09756e4 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -3518,43 +3518,6 @@ class ApiTest extends FixtureTest $this->markTestIncomplete(); } - /** - * Test the api_friendica_remoteauth() function. - * - * @return void - */ - public function testApiFriendicaRemoteauth() - { - $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class); - api_friendica_remoteauth(); - } - - /** - * Test the api_friendica_remoteauth() function with an URL. - * - * @return void - */ - public function testApiFriendicaRemoteauthWithUrl() - { - $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class); - $_GET['url'] = 'url'; - $_GET['c_url'] = 'url'; - api_friendica_remoteauth(); - } - - /** - * Test the api_friendica_remoteauth() function with a correct URL. - * - * @return void - */ - public function testApiFriendicaRemoteauthWithCorrectUrl() - { - $this->markTestIncomplete("We can't use an assertion here because of App->redirect()."); - $_GET['url'] = 'url'; - $_GET['c_url'] = $this->selfUser['nurl']; - api_friendica_remoteauth(); - } - /** * Test the api_share_as_retweet() function. *