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/api_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/api_test.go')
-rw-r--r-- | api/api_test.go | 2 |
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") |