package fcm

import (
	"chonho/config"
	"github.com/NaySoftware/go-fcm"
	"testing"
)

func TestSendNotify(t *testing.T) {
	c := fcm.NewFcmClient(config.FirebaseServerKey)
	service = &FCM{client: c}
	err := service.SendNotify(
		[]string{"eCL_xOWGfE4WrMujsXvdVK:APA91bEN5gfNb5UfgUzSygX8GMS3YT0xjcXOb18GxAlHmLlgMPWVide6mSjubZPovd63sSn-H8PhnUgH-0CjLeQf8ZEDKh0ghhuCKV227RWdHhVWapCJJbo7TkeEeYRWaDAr1OxnUn2k"},
		Message{
			"hello", "nani",
		}, "")
	t.Log(err)
}
