You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
848 B
35 lines
848 B
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) |
|
}) |
|
}
|
|
|