go-common/app/interface/main/space/dao/audio_test.go
2019-04-22 18:49:16 +08:00

36 lines
848 B
Go

package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_AudioCard(t *testing.T) {
convey.Convey("test audio card", t, func(ctx convey.C) {
mid := int64(28272030)
data, err := d.AudioCard(context.Background(), mid)
convey.So(err, convey.ShouldBeNil)
convey.Printf("%v", data)
})
}
func TestDao_AudioUpperCert(t *testing.T) {
convey.Convey("test audio upper cert", t, func(ctx convey.C) {
mid := int64(28272030)
data, err := d.AudioUpperCert(context.Background(), mid)
convey.So(err, convey.ShouldBeNil)
convey.Printf("%v", data)
})
}
func TestDao_AudioCnt(t *testing.T) {
convey.Convey("test audio cnt", t, func(ctx convey.C) {
mid := int64(28272030)
data, err := d.AudioCnt(context.Background(), mid)
convey.So(err, convey.ShouldBeNil)
convey.Printf("%v", data)
})
}