]> git.mxchange.org Git - friendica.git/blobdiff - tests/legacy/ApiTest.php
Merge pull request #10498 from MrPetovan/bug/10477-frio-csp-error-event-edit
[friendica.git] / tests / legacy / ApiTest.php
index 34cf1e7c6dab293f3e85f6e23978ec157454f3ed..0f09756e4a29e965909041a9f098aad2b049897e 100644 (file)
@@ -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.
         *