20 lines
362 B
Go
20 lines
362 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
push "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/push"
|
|
"testing"
|
|
)
|
|
|
|
func TestGetPusherOptions_Run(t *testing.T) {
|
|
ctx := context.Background()
|
|
s := NewGetPusherOptionsService(ctx)
|
|
// init req and assert value
|
|
resp, err := s.Run()
|
|
t.Logf("err: %v", err)
|
|
t.Logf("resp: %v", resp)
|
|
|
|
// todo: edit your unit test
|
|
|
|
}
|