|
|
|
@ -9,7 +9,7 @@ import (
|
|
|
|
|
|
|
|
|
|
func Test_Push(t *testing.T) {
|
|
|
|
|
offlinePusher := NewFcm()
|
|
|
|
|
resp, err := offlinePusher.Push([]string{"test_uid"}, "哈哈", "嘿嘿", "12321", push.PushOpts{})
|
|
|
|
|
resp, err := offlinePusher.Push([]string{"test_uid"}, "test", "test", "12321", push.PushOpts{})
|
|
|
|
|
assert.Nil(t, err)
|
|
|
|
|
fmt.Println(resp)
|
|
|
|
|
}
|
|
|
|
|