mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
da66730e4f
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item - also rewrote some array initialization: From: ```` <?php $arr = []; $arr['foo'] = "FOO"; ```` To: ```` <?php $arr['foo'] = "FOO"; ```` - added a few type-hints |
||
---|---|---|
.. | ||
datasets | ||
functional | ||
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.