go-common/app/admin/main/videoup/dao/archive/stats_test.go
2019-04-22 18:49:16 +08:00

17 lines
320 B
Go

package archive
import (
"context"
. "github.com/smartystreets/goconvey/convey"
"testing"
"time"
)
func Test_StatsPoints(t *testing.T) {
Convey("test archive", t, WithDao(func(d *Dao) {
now := time.Now()
_, err := d.StatsPoints(context.Background(), now.Add(-time.Hour), now, 1)
So(err, ShouldBeNil)
}))
}