api_test.go 299 B

1234567891011121314151617181920
  1. package im
  2. import (
  3. "git.beswell.com/gframe/application"
  4. "github.com/sirupsen/logrus"
  5. "testing"
  6. )
  7. func init() {
  8. logrus.Info("test init")
  9. app := application.NewDefault()
  10. err := app.AddServiceGrpcClient("bsw/im")
  11. if err != nil {
  12. panic(err)
  13. }
  14. }
  15. func TestSignUp(t *testing.T) {
  16. SignUp()
  17. }