You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
362 B
18 lines
362 B
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) |
|
}) |
|
}
|
|
|