- Contact::getPublicIdByUserId() wrongly returns 0 when $uid doesn't exist, which is an existing albeit invalid record.
Using the Friendica tests
Install PHPUnit
Please use setup-phpunit.sh to install the necessary PHPUnit version.
It will temporarily install the phpunit phar file into the bin/ subdirectory
Currently, Friendica uses PHPUnit 8.
Supported PHP versions of these tests
The Unit-Tests of Friendica requires at least PHP 7.2.