refactor: delete message and message batch use lua.

pull/2325/head
Gordon 1 year ago
parent 95e5721515
commit 461ec34c91

@ -75,7 +75,7 @@ func Test_msgCache_GetMessagesBySeq(t *testing.T) {
{"test1", fields{rdb: redis.NewClient(&redis.Options{Addr: "localhost:16379", Password: "openIM123"})},
args{context.Background(), "cid", []int64{1, 2, 3}},
[]*sdkws.MsgData{{Seq: 1}, {Seq: 2}, {Seq: 3}}, []int64{}, assert.NoError},
{"test2", fields{rdb: redis.NewClient(&redis.Options{Addr: "localhost:16379"})},
{"test2", fields{rdb: redis.NewClient(&redis.Options{Addr: "localhost:16379", Password: "openIM123"})},
args{context.Background(), "cid", []int64{4, 5, 6}},
[]*sdkws.MsgData{}, []int64{4, 5, 6}, assert.NoError},
}

Loading…
Cancel
Save