Files
open-im-server/internal/push/fcm/push_test.go
T

16 lines
302 B
Go
Raw Normal View History

2022-07-29 15:47:09 +08:00
package fcm
import (
"Open_IM/internal/push"
"fmt"
"github.com/stretchr/testify/assert"
"testing"
)
func Test_Push(t *testing.T) {
offlinePusher := NewFcm()
2022-07-29 20:23:07 +08:00
resp, err := offlinePusher.Push([]string{"test_uid"}, "test", "test", "12321", push.PushOpts{})
2022-07-29 15:47:09 +08:00
assert.Nil(t, err)
fmt.Println(resp)
}