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.
 
 
 

16 lines
320 B

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)
}))
}