bilibili-backup/app/admin/main/reply/dao/stat_test.go
2019-04-22 02:59:20 +00:00

22 lines
338 B
Go

package dao
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestStats(t *testing.T) {
var (
oid = int64(1)
typ = int32(1)
cnt = int32(1)
c = context.Background()
)
Convey("test stats count", t, WithDao(func(d *Dao) {
err := d.SendStats(c, typ, oid, cnt)
So(err, ShouldBeNil)
}))
}