user_test.go 240 B

1234567891011121314
  1. package service
  2. import (
  3. "testing"
  4. . "github.com/smartystreets/goconvey/convey"
  5. )
  6. func Test_QueryUserInfo(t *testing.T) {
  7. Convey("query user or create user", t, func() {
  8. _, err := s.QueryUser("zhanglu")
  9. So(err, ShouldBeNil)
  10. })
  11. }