Fix component tests to work without database dependencies

Co-authored-by: aronwk-aaron <26027722+aronwk-aaron@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-31 08:40:34 +00:00
parent 4d6debae84
commit 74fb9428bb
7 changed files with 80 additions and 40 deletions

View File

@@ -33,7 +33,7 @@ protected:
info.rot = NiQuaternionConstant::IDENTITY;
info.scale = 1.0f;
info.spawner = nullptr;
info.lot = 999;
info.lot = 1; // Use LOT 1 to avoid database dependencies for InventoryComponent
Game::logger = new Logger("./testing.log", true, true);
Game::server = new dServerMock();
Game::config = new dConfig("worldconfig.ini");