pusher/biz/service/add_test.go
timerzz 56f3155d99
All checks were successful
Build image / build (push) Successful in 1m25s
fix 修复获取option items不正确的问题
2024-05-21 13:44:46 +08:00

22 lines
375 B
Go

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