mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
681c7c0187
- Since ExternalStorage isn't instantiated automatically by Dice, we have to provide the dependency manually in StorageManager->getByName - This requires StorageManager to take one one additional dependency - Tests are updated with this additional dependency |
||
---|---|---|
.. | ||
datasets | ||
functional | ||
legacy | ||
src | ||
Util | ||
bootstrap.php | ||
DatabaseTest.php | ||
DatabaseTestTrait.php | ||
FixtureTest.php | ||
MockedTest.php | ||
phpunit.xml | ||
README.md |
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.