Update tests after removing App dependency from hook calls

This commit is contained in:
Hypolite Petovan 2023-01-14 09:46:49 -05:00
commit 45a6888647
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ function authtest_install()
Hook::register('authenticate', 'tests/Util/authtest/authtest.php', 'authtest_authenticate');
}
function authtest_authenticate($a,&$b)
function authtest_authenticate(&$b)
{
$b['authenticated'] = \Friendica\Test\Util\AuthTestConfig::$authenticated;
$b['user_record'] = User::getById(\Friendica\Test\Util\AuthTestConfig::$user_id);