playurl_test.go 311 B

12345678910111213141516
  1. package playurl
  2. import (
  3. "testing"
  4. . "github.com/smartystreets/goconvey/convey"
  5. )
  6. func TestDao_Playurl(t *testing.T) {
  7. Convey("TestDao_Playurl", t, WithDao(func(d *Dao) {
  8. url, hitDead, err := d.Playurl(ctx, 41057587)
  9. So(err, ShouldBeNil)
  10. So(hitDead, ShouldBeTrue)
  11. So(url, ShouldNotBeEmpty)
  12. }))
  13. }