17 lines
306 B
Go
17 lines
306 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func TestService_FinishMatch(t *testing.T) {
|
|
Convey("test finish match", t, WithService(func(s *Service) {
|
|
moID := int64(3)
|
|
err := s.FinishMatch(context.Background(), moID)
|
|
So(err, ShouldBeNil)
|
|
}))
|
|
}
|