mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user