Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View File

@ -0,0 +1,23 @@
package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoPassportDetail(t *testing.T) {
var (
c = context.Background()
mid = int64(1)
ip = ""
)
convey.Convey("PassportDetail", t, func(cv convey.C) {
res, err := d.PassportDetail(c, mid, ip)
cv.Convey("Then err should be nil.res should not be nil.", func(cv convey.C) {
cv.So(err, convey.ShouldBeNil)
cv.So(res, convey.ShouldNotBeNil)
})
})
}