diff --git a/app_test.go b/app_test.go index 3357fe3..6e2868f 100644 --- a/app_test.go +++ b/app_test.go @@ -11,13 +11,13 @@ import ( var id = 0 -func newApp() App { +func newApp() *App { a := App{Name: "Test", AppID: strconv.Itoa(id), Key: "123", Secret: "123", OnlySSL: false, ApplicationDisabled: false, UserEvents: true} a.Init() id++ - return a + return &a } func TestConnect(t *testing.T) {