mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-11-22 09:05:06 +08:00
test(group): assert handler field types
This commit is contained in:
parent
4fbebe6e10
commit
53c825a85d
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user