team_test.go 382 B

1234567891011121314151617181920
  1. package service
  2. import (
  3. "context"
  4. "go-common/app/admin/main/esports/model"
  5. "testing"
  6. . "github.com/smartystreets/goconvey/convey"
  7. )
  8. func TestService_EditTeam(t *testing.T) {
  9. Convey("test edit team", t, WithService(func(s *Service) {
  10. arg := &model.Team{
  11. ID: 3,
  12. }
  13. gids := []int64{3}
  14. err := s.EditTeam(context.Background(), arg, gids)
  15. So(err, ShouldBeNil)
  16. }))
  17. }