go-common/app/interface/main/space/dao/elec_test.go

19 lines
365 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_ElecInfo(t *testing.T) {
convey.Convey("test elec info", t, func(ctx convey.C) {
mid := int64(28272030)
paymid := int64(0)
data, err := d.ElecInfo(context.Background(), mid, paymid)
convey.So(err, convey.ShouldBeNil)
convey.Printf("%v", data)
})
}