]> git.mxchange.org Git - friendica.git/commit
Normalize local node hostname across API fixtures
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 25 Feb 2024 04:46:54 +0000 (23:46 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 27 Feb 2024 13:41:51 +0000 (08:41 -0500)
commitba0a8069c4e834e16d88d81fbd7c27b2fe4e83a3
treec784556f0d4193b61c26de483f5ec47dbd3e91ec
parentd37699bc08f0b57af42f21e40481141cdd490be1
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
tests/DatabaseTestTrait.php
tests/Util/Database/StaticDatabase.php
tests/datasets/api.fixture.php
tests/src/Module/Api/Friendica/NotificationTest.php