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:
Hypolite Petovan 2024-02-24 23:46:54 -05:00
parent d37699bc08
commit ba0a8069c4
4 changed files with 46 additions and 55 deletions

View file

@ -211,7 +211,7 @@ class StaticDatabase extends Database
{
if (isset(self::$staticConnection)) {
while (self::$staticConnection->getTransactionDepth() > 0) {
self::$staticConnection->rollBack();
self::$staticConnection->rollback();
}
}
}