parent
64bfff5690
commit
c43290338d
@ -0,0 +1,15 @@
|
||||
package fcm
|
||||
|
||||
import (
|
||||
"Open_IM/internal/push"
|
||||
"fmt"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_Push(t *testing.T) {
|
||||
offlinePusher := NewFcm()
|
||||
resp, err := offlinePusher.Push([]string{"test_uid"}, "哈哈", "嘿嘿", "12321", push.PushOpts{})
|
||||
assert.Nil(t, err)
|
||||
fmt.Println(resp)
|
||||
}
|
Loading…
Reference in new issue