match_test.go 306 B

12345678910111213141516
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService_FinishMatch(t *testing.T) {
  8. Convey("test finish match", t, WithService(func(s *Service) {
  9. moID := int64(3)
  10. err := s.FinishMatch(context.Background(), moID)
  11. So(err, ShouldBeNil)
  12. }))
  13. }