mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:17:17 +02:00
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
This commit is contained in:
parent
d37699bc08
commit
ba0a8069c4
4 changed files with 46 additions and 55 deletions
|
@ -35,7 +35,7 @@ trait DatabaseTestTrait
|
|||
// Rollbacks every DB usage (in case the test couldn't call tearDown)
|
||||
StaticDatabase::statRollback();
|
||||
// Rollback the first, outer transaction just 2 be sure
|
||||
StaticDatabase::getGlobConnection()->rollBack();
|
||||
StaticDatabase::getGlobConnection()->rollback();
|
||||
// Start the first, outer transaction
|
||||
StaticDatabase::getGlobConnection()->beginTransaction();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue