aboutsummaryrefslogtreecommitdiff
path: root/internal/game/quit_casino_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-18 21:36:36 -0400
committerhistoria <[not public]>2026-09-18 21:36:36 -0400
commita8a67482bbff8297a96adff65d2fd7029ed998cc (patch)
treee84f8ba636c8f2edb4d2ff8b45d7cff7298fa7cc /internal/game/quit_casino_test.go
parentff04d26ce90d6b411a04a2fb59f7c24ceefb161f (diff)
downloadthehouseoficarus-a8a67482bbff8297a96adff65d2fd7029ed998cc.tar.gz
refactor: replace economy journal with single-file pending-wager wallet
Diffstat (limited to 'internal/game/quit_casino_test.go')
-rw-r--r--internal/game/quit_casino_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/quit_casino_test.go b/internal/game/quit_casino_test.go
index f373457..02dadb0 100644
--- a/internal/game/quit_casino_test.go
+++ b/internal/game/quit_casino_test.go
@@ -15,7 +15,7 @@ import (
// quitTestGame builds the minimal live state quit and stop need: a casino
// manager, a combat tracker, a tick engine for the rest countdown, and a
-// durable wallet (economy journal + account store) so wagers can commit.
+// wallet backed by the account store so wagers can commit.
func quitTestGame(t *testing.T) (*Game, *net.Session) {
t.Helper()
dataDir := t.TempDir()
@@ -28,7 +28,6 @@ func quitTestGame(t *testing.T) (*Game, *net.Session) {
Deps: Deps{AccountStore: player.NewAccountStore(dataDir), Ticks: engine.New()},
Casino: casino.NewManager(1),
Combat: combat.NewTracker(),
- Economy: newEconomyJournal(t.TempDir()),
safespot: NewSafespotManager(),
loggedInChars: map[string]*net.Session{"alice": sess},
restTimers: make(map[string]uint64),