diff options
author | =Corey Hulen <corey@hulen.com> | 2016-01-20 12:43:44 -0600 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-01-20 12:43:44 -0600 |
commit | 75f8729e2d25467500778e633c45c97e78a8f7a0 (patch) | |
tree | 47735a3dd609e025837df4460b0d030454358cf1 /api/channel_benchmark_test.go | |
parent | aac8d121a00922f007b9c67d890ea9dbcfbe4b8f (diff) | |
download | chat-75f8729e2d25467500778e633c45c97e78a8f7a0.tar.gz chat-75f8729e2d25467500778e633c45c97e78a8f7a0.tar.bz2 chat-75f8729e2d25467500778e633c45c97e78a8f7a0.zip |
PLT-7 adding loc db calls for users table
Diffstat (limited to 'api/channel_benchmark_test.go')
-rw-r--r-- | api/channel_benchmark_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/channel_benchmark_test.go b/api/channel_benchmark_test.go index d6e1e5a55..f6fc53257 100644 --- a/api/channel_benchmark_test.go +++ b/api/channel_benchmark_test.go @@ -140,7 +140,7 @@ func BenchmarkJoinChannel(b *testing.B) { // Secondary test user to join channels created by primary test user user := &model.User{TeamId: team.Id, Email: model.NewId() + "random@test.com", Nickname: "That Guy", Password: "pwd"} user = Client.Must(Client.CreateUser(user, "")).Data.(*model.User) - store.Must(Srv.Store.User().VerifyEmail(user.Id)) + store.Must(Srv.Store.User().VerifyEmail(utils.T, user.Id)) Client.LoginByEmail(team.Name, user.Email, "pwd") // Benchmark Start |