]> git.mxchange.org Git - friendica.git/blobdiff - tests/ApiTest.php
Fix $called_api expecting at least 2 elements in tests
[friendica.git] / tests / ApiTest.php
index 4c63af7a91306889725d266075d4f97a9f657f0e..982f5bf11a37ac05355dfa5c5bcb0eac7075d130 100644 (file)
@@ -818,7 +818,7 @@ class ApiTest extends DatabaseTest
        public function testApiGetUserWithCalledApi()
        {
                global $called_api;
-               $called_api = ['api_path'];
+               $called_api = ['api', 'api_path'];
                $this->assertSelfUser(api_get_user($this->app));
        }