From e0a30e60407f307a9560b47416fcb1a61a691bcf Mon Sep 17 00:00:00 2001 From: huangqz Date: Mon, 12 Oct 2026 15:28:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=81=E8=A3=85=20/api/game/getGameRoleInfo?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/game/unit_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/game/unit_test.go b/services/game/unit_test.go index 5e9a314..ac87f54 100644 --- a/services/game/unit_test.go +++ b/services/game/unit_test.go @@ -5,7 +5,8 @@ import ( "time" ) -func TestName(t *testing.T) { +// 测试 /api/game/getGameRoleInfo 接口 +func TestGetGameRoleInfo(t *testing.T) { roleReq := CreateGetGameRoleInfoReq(3706, 1373, 0, 0, "13924600328") roleReq.SetReadTimeout(10 * time.Minute)