fix(shop): update early return test to use pre-G1 client version

PR #150 moved the early return threshold from G10 to G1, so the test
using G7 no longer hit the early return path and panicked on nil
gachaRepo.
This commit is contained in:
Houmgaor
2026-02-26 21:57:40 +01:00
parent a399ba7419
commit 4a1e019457

View File

@@ -9,9 +9,9 @@ import (
"erupe-ce/network/mhfpacket"
)
func TestHandleMsgMhfEnumerateShop_Case1_G7EarlyReturn(t *testing.T) {
func TestHandleMsgMhfEnumerateShop_Case1_PreG1EarlyReturn(t *testing.T) {
server := createMockServer()
server.erupeConfig.RealClientMode = cfg.G7
server.erupeConfig.RealClientMode = cfg.F5
session := createMockSession(1, server)