summaryrefslogtreecommitdiffstats
path: root/api/api_test.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-07-09 13:59:19 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-07-17 15:13:24 -0400
commitc09f1b9e4e5638080622ff9aa70735db382a16df (patch)
treea05d7d71d87cf436c30424a2f34e0cb0db9aaff1 /api/api_test.go
parent1d7509493e65324d1e81bf39c51a9d7c07335c56 (diff)
downloadchat-c09f1b9e4e5638080622ff9aa70735db382a16df.tar.gz
chat-c09f1b9e4e5638080622ff9aa70735db382a16df.tar.bz2
chat-c09f1b9e4e5638080622ff9aa70735db382a16df.zip
Renamed FullName column in database to Nickname. Renamed all serverside references from FullName to 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")