diff --git a/pkg/common/storage/cache/redis/msg_test.go b/pkg/common/storage/cache/redis/msg_test.go index 8975a09e8..99e12e856 100644 --- a/pkg/common/storage/cache/redis/msg_test.go +++ b/pkg/common/storage/cache/redis/msg_test.go @@ -72,7 +72,7 @@ func Test_msgCache_GetMessagesBySeq(t *testing.T) { wantFailedSeqs []int64 wantErr assert.ErrorAssertionFunc }{ - {"test1", fields{rdb: redis.NewClient(&redis.Options{Addr: "localhost:16379", Password: "openIM23"})}, + {"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"})}, @@ -109,7 +109,7 @@ func Test_msgCache_DeleteMessagesFromCache(t *testing.T) { args args wantErr assert.ErrorAssertionFunc }{ - {"test1", fields{rdb: redis.NewClient(&redis.Options{Addr: "localhost:16379", Password: "openIM23"})}, + {"test1", fields{rdb: redis.NewClient(&redis.Options{Addr: "localhost:16379", Password: "openIM123"})}, args{context.Background(), "cid", []int64{1, 2, 3}}, assert.NoError}, } for _, tt := range tests {