15 lines
240 B
Go
15 lines
240 B
Go
package service
|
|
|
|
import (
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func Test_QueryUserInfo(t *testing.T) {
|
|
Convey("query user or create user", t, func() {
|
|
_, err := s.QueryUser("zhanglu")
|
|
So(err, ShouldBeNil)
|
|
})
|
|
}
|