mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
Fix $called_api expecting at least 2 elements in tests
This commit is contained in:
parent
6776c4e3f9
commit
a329ce5b50
2 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue