From 9666676766bf21364f4fc4d0d1d336e72f2a91b4 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 6 Oct 2026 12:57:23 -0400 Subject: refactor: split casino.go, dedup helpers, remove audit docs --- internal/casino/video_poker_lifecycle_test.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/casino/video_poker_lifecycle_test.go') diff --git a/internal/casino/video_poker_lifecycle_test.go b/internal/casino/video_poker_lifecycle_test.go index f817225..b9b6dd7 100644 --- a/internal/casino/video_poker_lifecycle_test.go +++ b/internal/casino/video_poker_lifecycle_test.go @@ -29,6 +29,13 @@ func (w *pokerTestWallet) PayCredits(n int, ids ...string) error { return w.testWallet.PayCredits(n, ids...) } +func (w *pokerTestWallet) RefundStakes(ids ...string) error { + if w.fail { + return ErrWalletPersistence + } + return w.testWallet.RefundStakes(ids...) +} + func (e Event) MessageStarts(prefix string) bool { return strings.HasPrefix(e.Message, prefix) } type pokerTestBank struct{ writes int } -- cgit v1.2.3