friendica/tests
Hypolite Petovan 681c7c0187 Add ExternalStorage dependency to StorageManager
- 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
2021-06-27 23:15:46 -04:00
..
Util Fix DBA::lock() testability because of "autocommits" 2021-05-24 22:37:16 +02:00
datasets Test with file (will fail) 2021-05-24 04:56:03 +00:00
functional Fix tests 2021-04-04 20:11:57 +02:00
legacy Replace assertInternalType() with proper assertions 2021-06-02 23:03:08 +02:00
src Add ExternalStorage dependency to StorageManager 2021-06-27 23:15:46 -04:00
DatabaseTest.php Fix tests 2021-04-04 20:11:57 +02:00
DatabaseTestTrait.php Fix DBA::lock() testability because of "autocommits" 2021-05-24 22:37:16 +02:00
FixtureTest.php Fix tests 2021-04-04 20:11:57 +02:00
MockedTest.php Fix tests 2021-04-04 20:11:57 +02:00
README.md Remove PHPUnit dependency & create shell-script with description for it 2021-04-05 12:35:56 +02:00
bootstrap.php Make tests PHPUnit 6.0 compatible 2021-05-16 23:22:44 +02:00
phpunit.xml Fix tests 2021-05-24 13:29:57 +02:00

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.