summaryrefslogtreecommitdiffstats
path: root/api/user_test.go
diff options
context:
space:
mode:
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
commited178457cd4f2107d858e902e6fd5d13169bd16a (patch)
tree3a0e17a47f39188b7966707100309075e12b4f50 /api/user_test.go
parentec2af296b25d6edef0fea54a8af02bed912c6e37 (diff)
downloadchat-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.go2
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")