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.
 
 
 

23 lines
511 B

package pendant
import (
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestPendantVipInfo(t *testing.T) {
convey.Convey("VipInfo", t, func(ctx convey.C) {
var (
mid = int64(650454)
ip = "127.0.0.1"
)
ctx.Convey("When everything goes positive", func(ctx convey.C) {
idt, err := d.VipInfo(c, mid, ip)
ctx.Convey("Then err should be nil.idt should not be nil.", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
ctx.So(idt, convey.ShouldNotBeNil)
})
})
})
}