You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
306 B
16 lines
306 B
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)
|
|
}
|