proto modify

This commit is contained in:
wangchuxiao
2023-03-03 19:59:10 +08:00
parent 080dfa5563
commit 0ed07dfa2a
14 changed files with 55 additions and 55 deletions
@@ -0,0 +1,16 @@
package fcm
import (
"OpenIM/internal/push/offlinepush"
"OpenIM/pkg/common/db/cache"
"context"
"github.com/stretchr/testify/assert"
"testing"
)
func Test_Push(t *testing.T) {
var redis cache.Model
offlinePusher := NewClient(redis)
err := offlinePusher.Push(context.Background(), []string{"userID1"}, "test", "test", &offlinepush.Opts{})
assert.Nil(t, err)
}