pusher/biz/service/push_test.go
2024-05-17 18:02:10 +08:00

22 lines
366 B
Go

package service
import (
"context"
push "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/push"
"testing"
)
func TestPush_Run(t *testing.T) {
ctx := context.Background()
s := NewPushService(ctx)
// init req and assert value
req := &push.PushReq{}
resp, err := s.Run(req)
t.Logf("err: %v", err)
t.Logf("resp: %v", resp)
// todo: edit your unit test
}