pusher/biz/service/list_test.go

22 lines
376 B
Go
Raw Normal View History

2024-05-17 18:02:10 +08:00
package service
import (
"context"
push "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/push"
"testing"
)
func TestList_Run(t *testing.T) {
ctx := context.Background()
s := NewListService(ctx)
// init req and assert value
req := &push.ListPusherRequest{}
resp, err := s.Run(req)
t.Logf("err: %v", err)
t.Logf("resp: %v", resp)
// todo: edit your unit test
}