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.
18 lines
365 B
18 lines
365 B
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) |
|
}) |
|
}
|
|
|