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

16 lines
311 B
Go

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