summaryrefslogtreecommitdiffstats
path: root/api/api_test.go
diff options
context:
space:
mode:
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
commit1006e99859d65094d2a7818781faa47bf2eab2a5 (patch)
tree96967d659d55770c352c51290ae0e9204f748266 /api/api_test.go
parenta6d2c2c2d943a88890087ccff3282481f1e44114 (diff)
downloadchat-1006e99859d65094d2a7818781faa47bf2eab2a5.tar.gz
chat-1006e99859d65094d2a7818781faa47bf2eab2a5.tar.bz2
chat-1006e99859d65094d2a7818781faa47bf2eab2a5.zip
Fixing email unit tests
Diffstat (limited to 'api/api_test.go')
-rw-r--r--api/api_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api_test.go b/api/api_test.go
index 4d7192e4b..94691ab4b 100644
--- a/api/api_test.go
+++ b/api/api_test.go
@@ -30,7 +30,7 @@ func SetupBenchmark() (*model.Team, *model.User, *model.Channel) {
team := &model.Team{DisplayName: "Benchmark Team", Name: "z-z-" + model.NewId() + "a", Email: "benchmark@nowhere.com", Type: model.TEAM_OPEN}
team = Client.Must(Client.CreateTeam(team)).Data.(*model.Team)
- user := &model.User{TeamId: team.Id, Email: model.NewId() + "benchmark@test.com", Nickname: "Mr. Benchmarker", Password: "pwd"}
+ user := &model.User{TeamId: team.Id, Email: model.NewId() + "success+test@simulator.amazonses.com", Nickname: "Mr. Benchmarker", 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")