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

25 lines
470 B
Go

package archive
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_TaskByUntreated(t *testing.T) {
Convey("TaskByUntreated", t, func() {
configs, err := d.TaskByUntreated(context.TODO())
So(err, ShouldBeNil)
Println(configs)
})
}
func Test_TaskTookByHalfHour(t *testing.T) {
Convey("TaskTookByHalfHour", t, func() {
configs, err := d.TaskTookByHalfHour(context.TODO())
So(err, ShouldBeNil)
Println(configs)
})
}