go-common/app/admin/main/videoup/dao/archive/first_pass_test.go

16 lines
311 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package archive
import (
"context"
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func Test_GetFirstPassByAID(t *testing.T) {
Convey("test archive", t, WithDao(func(d *Dao) {
id, err := d.GetFirstPassByAID(context.Background(), 10098814)
So(err, ShouldBeNil)
So(id, ShouldNotBeNil)
}))
}