From 115acc0f1380945e76d5f39b6cb9a8972a9b5f0c Mon Sep 17 00:00:00 2001 From: OpenIM-Gordon <46924906+FGadvancer@users.noreply.github.com> Date: Thu, 17 Sep 2026 18:36:28 +0800 Subject: [PATCH] test(group): assert handler field types --- pkg/common/storage/database/mgo/group_request_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/storage/database/mgo/group_request_test.go b/pkg/common/storage/database/mgo/group_request_test.go index 7e8a63066..f930e17c8 100644 --- a/pkg/common/storage/database/mgo/group_request_test.go +++ b/pkg/common/storage/database/mgo/group_request_test.go @@ -21,7 +21,7 @@ func TestGroupRequestHandlerUpdate(t *testing.T) { t.Fatal("handler update contains obsolete handle_msg field") } want := map[string]any{ - "handled_msg": "approved", "handle_result": constant.GroupResponseAgree, + "handled_msg": "approved", "handle_result": int32(constant.GroupResponseAgree), "handle_user_id": "admin", "handled_time": handledTime, } for key, expected := range want {