go-common/app/interface/main/activity/service/like/act_test.go

18 lines
313 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package like
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_HotDot(t *testing.T) {
Convey("test hot dot", t, WithService(func(s *Service) {
mid := int64(908085)
data, err := s.RedDot(context.Background(), mid)
So(err, ShouldBeNil)
Println(data)
}))
}