Fix $called_api expecting at least 2 elements in tests

This commit is contained in:
Hypolite Petovan 2018-07-01 00:16:32 -04:00
parent 6776c4e3f9
commit a329ce5b50
2 changed files with 2 additions and 1 deletions

View 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));
}