go-common/app/job/main/tv/dao/playurl/playurl_test.go
2019-04-22 18:49:16 +08:00

17 lines
311 B
Go

package playurl
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestDao_Playurl(t *testing.T) {
Convey("TestDao_Playurl", t, WithDao(func(d *Dao) {
url, hitDead, err := d.Playurl(ctx, 41057587)
So(err, ShouldBeNil)
So(hitDead, ShouldBeTrue)
So(url, ShouldNotBeEmpty)
}))
}