summaryrefslogtreecommitdiffstats
path: root/api/api_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-07-17 14:01:01 -0800
committerCorey Hulen <corey@hulen.com>2015-07-17 14:01:01 -0800
commitb306ec84378b36372b5465c09233094314789bf2 (patch)
tree1995d12ac34a4c6ba459884c84cb28b62d62b296 /api/api_test.go
parent66c22d342fa42068382c9e80427ea953676357db (diff)
parent1dba330146a10718a2fc9eac0ae7d6e1d6bc0d79 (diff)
downloadchat-b306ec84378b36372b5465c09233094314789bf2.tar.gz
chat-b306ec84378b36372b5465c09233094314789bf2.tar.bz2
chat-b306ec84378b36372b5465c09233094314789bf2.zip
Merge pull request #177 from hmhealey/mm825
MM-825 Replace FullName field with separate FirstName and LastName fields and repurpose the existing FullName as Nickname
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 b407c2a5e..7d2faed4f 100644
--- a/api/api_test.go
+++ b/api/api_test.go
@@ -26,7 +26,7 @@ func SetupBenchmark() (*model.Team, *model.User, *model.Channel) {
team := &model.Team{Name: "Benchmark Team", Domain: "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", FullName: "Mr. Benchmarker", Password: "pwd"}
+ user := &model.User{TeamId: team.Id, Email: model.NewId() + "benchmark@test.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.Domain, user.Email, "pwd")