go-common/app/interface/main/player/dao/online_test.go

19 lines
362 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_OnlineCount(t *testing.T) {
convey.Convey("test online num", t, func(ctx convey.C) {
aid := int64(17592153)
cid := int64(28727160)
data, err := d.OnlineCount(context.Background(), aid, cid)
ctx.So(err, convey.ShouldBeNil)
ctx.Println(data)
})
}