diff options
author | =Corey Hulen <corey@hulen.com> | 2015-07-05 09:13:06 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-07-05 09:13:06 -0800 |
commit | ed178457cd4f2107d858e902e6fd5d13169bd16a (patch) | |
tree | 3a0e17a47f39188b7966707100309075e12b4f50 /api/user_test.go | |
parent | ec2af296b25d6edef0fea54a8af02bed912c6e37 (diff) | |
download | chat-ed178457cd4f2107d858e902e6fd5d13169bd16a.tar.gz chat-ed178457cd4f2107d858e902e6fd5d13169bd16a.tar.bz2 chat-ed178457cd4f2107d858e902e6fd5d13169bd16a.zip |
fixing unit tests
Diffstat (limited to 'api/user_test.go')
-rw-r--r-- | api/user_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user_test.go b/api/user_test.go index 8e15029ca..2a3a3c830 100644 --- a/api/user_test.go +++ b/api/user_test.go @@ -462,7 +462,7 @@ func TestUserUpdate(t *testing.T) { user := &model.User{TeamId: team.Id, Email: strings.ToLower(model.NewId()) + "corey@test.com", FullName: "Corey Hulen", Password: "pwd", LastActivityAt: time1, LastPingAt: time1, Roles: ""} user = Client.Must(Client.CreateUser(user, "")).Data.(*model.User) - <-<-Srv.Store.User().VerifyEmail(user.Id) + <-Srv.Store.User().VerifyEmail(user.Id) if _, err := Client.UpdateUser(user); err == nil { t.Fatal("Should have errored") |