Philipp
b5d2d32b44
- $moduleName is part of the argument string => App\Arguments - $isBackend boolean already part of App\Mode::isBackend() - $module is now the direct return of App\Router::getModule() - ModuleController::run() moved to BaseModule::run() |
||
---|---|---|
.. | ||
datasets | ||
functional | ||
legacy | ||
src | ||
Util | ||
bootstrap.php | ||
DatabaseTest.php | ||
DatabaseTestTrait.php | ||
DiceHttpMockHandlerTrait.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.