]> git.mxchange.org Git - friendica.git/blobdiff - tests/ApiTest.php
Merge pull request #6051 from nupplaphil/friendica-6047
[friendica.git] / tests / ApiTest.php
index 639b72558b0968baa34093a104bc08dfca644e59..c509c7d2a4233b3ea69ab5b7a6d823246ae357da 100644 (file)
@@ -12,7 +12,7 @@ use Friendica\Core\Protocol;
 use Friendica\Core\System;
 use Friendica\Network\HTTPException;
 
-require_once(__DIR__ . '/../include/api.php');
+require_once __DIR__ . '/../include/api.php';
 
 /**
  * Tests for the API functions.
@@ -3379,7 +3379,7 @@ class ApiTest extends DatabaseTest
         */
        public function testApiFriendicaRemoteauthWithCorrectUrl()
        {
-               $this->markTestIncomplete("We can't use an assertion here because of goaway().");
+               $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();