friendica/tests
Hypolite Petovan ba0a8069c4 Normalize local node hostname across API fixtures
- This was causing the fixture data to be wrongly "repaired" in Model\User::getOwnerDataById because of a mismatch between the local base URL and the fixture-provided self contact URL
2024-02-27 08:41:51 -05:00
..
datasets Normalize local node hostname across API fixtures 2024-02-27 08:41:51 -05:00
functional Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
src Normalize local node hostname across API fixtures 2024-02-27 08:41:51 -05:00
Util Normalize local node hostname across API fixtures 2024-02-27 08:41:51 -05:00
bootstrap.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
DatabaseTest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
DatabaseTestTrait.php Normalize local node hostname across API fixtures 2024-02-27 08:41:51 -05:00
DiceHttpMockHandlerTrait.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
FixtureTest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
FixtureTestTrait.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
MockedTest.php Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
phpunit-addons.xml
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.