summaryrefslogtreecommitdiffstats
path: root/api/channel_benchmark_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-01-20 13:36:27 -0600
committerCorey Hulen <corey@hulen.com>2016-01-20 13:36:27 -0600
commitd703d09063538fb91baa5a21b1001216c43d848a (patch)
treed87809ff2a306e5428b0ab6973d05509baa21abd /api/channel_benchmark_test.go
parent0b1aff3b24b4ac2df8e963c83d6e52b127c603f9 (diff)
parentaefbb541d0d5bdd9919fef44fbf1a1fbfeaeb58b (diff)
downloadchat-d703d09063538fb91baa5a21b1001216c43d848a.tar.gz
chat-d703d09063538fb91baa5a21b1001216c43d848a.tar.bz2
chat-d703d09063538fb91baa5a21b1001216c43d848a.zip
Merge pull request #1932 from mattermost/revert-1930-PLT-7-server-db
Revert " PLT-7 adding loc for db calls"
Diffstat (limited to 'api/channel_benchmark_test.go')
-rw-r--r--api/channel_benchmark_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/channel_benchmark_test.go b/api/channel_benchmark_test.go
index f6fc53257..d6e1e5a55 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(utils.T, user.Id))
+ store.Must(Srv.Store.User().VerifyEmail(user.Id))
Client.LoginByEmail(team.Name, user.Email, "pwd")
// Benchmark Start