diff options
author | =Corey Hulen <corey@hulen.com> | 2016-02-01 08:35:08 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2016-02-01 08:35:08 -0800 |
commit | 1006e99859d65094d2a7818781faa47bf2eab2a5 (patch) | |
tree | 96967d659d55770c352c51290ae0e9204f748266 /api/channel_benchmark_test.go | |
parent | a6d2c2c2d943a88890087ccff3282481f1e44114 (diff) | |
download | chat-1006e99859d65094d2a7818781faa47bf2eab2a5.tar.gz chat-1006e99859d65094d2a7818781faa47bf2eab2a5.tar.bz2 chat-1006e99859d65094d2a7818781faa47bf2eab2a5.zip |
Fixing email unit tests
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..09c734cc2 100644 --- a/api/channel_benchmark_test.go +++ b/api/channel_benchmark_test.go @@ -138,7 +138,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 := &model.User{TeamId: team.Id, Email: "success+" + model.NewId() + "@simulator.amazonses.com", Nickname: "That Guy", Password: "pwd"} user = Client.Must(Client.CreateUser(user, "")).Data.(*model.User) store.Must(Srv.Store.User().VerifyEmail(user.Id)) Client.LoginByEmail(team.Name, user.Email, "pwd") |