summaryrefslogtreecommitdiffstats
path: root/api/web_socket_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/web_socket_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/web_socket_test.go')
-rw-r--r--api/web_socket_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/web_socket_test.go b/api/web_socket_test.go
index 4cb49220f..e52a4f731 100644
--- a/api/web_socket_test.go
+++ b/api/web_socket_test.go
@@ -20,7 +20,7 @@ func TestSocket(t *testing.T) {
team := &model.Team{Name: "Name", Domain: "z-z-" + model.NewId() + "a", Email: "test@nowhere.com", Type: model.TEAM_OPEN}
team = Client.Must(Client.CreateTeam(team)).Data.(*model.Team)
- user1 := &model.User{TeamId: team.Id, Email: model.NewId() + "corey@test.com", FullName: "Corey Hulen", Password: "pwd"}
+ user1 := &model.User{TeamId: team.Id, Email: model.NewId() + "corey@test.com", Nickname: "Corey Hulen", Password: "pwd"}
user1 = Client.Must(Client.CreateUser(user1, "")).Data.(*model.User)
store.Must(Srv.Store.User().VerifyEmail(user1.Id))
Client.LoginByEmail(team.Domain, user1.Email, "pwd")
@@ -39,7 +39,7 @@ func TestSocket(t *testing.T) {
t.Fatal(err)
}
- user2 := &model.User{TeamId: team.Id, Email: model.NewId() + "corey@test.com", FullName: "Corey Hulen", Password: "pwd"}
+ user2 := &model.User{TeamId: team.Id, Email: model.NewId() + "corey@test.com", Nickname: "Corey Hulen", Password: "pwd"}
user2 = Client.Must(Client.CreateUser(user2, "")).Data.(*model.User)
store.Must(Srv.Store.User().VerifyEmail(user2.Id))
Client.LoginByEmail(team.Domain, user2.Email, "pwd")