summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-01-31 07:59:36 -0500
committerGitHub <noreply@github.com>2017-01-31 07:59:36 -0500
commit7431050b427af88c5e5358bf086176d7a680149b (patch)
treed75e8bd406086509e032be9b65cb42681393cd92 /api
parent450c0b3ccb091a3f84f35aca0319ba358ffd5633 (diff)
downloadchat-7431050b427af88c5e5358bf086176d7a680149b.tar.gz
chat-7431050b427af88c5e5358bf086176d7a680149b.tar.bz2
chat-7431050b427af88c5e5358bf086176d7a680149b.zip
Implement POST /teams endpoint (#5220)
Diffstat (limited to 'api')
-rw-r--r--api/team_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/team_test.go b/api/team_test.go
index 5720f71d7..c4a0fbefb 100644
--- a/api/team_test.go
+++ b/api/team_test.go
@@ -45,7 +45,7 @@ func TestCreateTeam(t *testing.T) {
rteam.Data.(*model.Team).Id = ""
if _, err := Client.CreateTeam(rteam.Data.(*model.Team)); err != nil {
- if err.Message != "A team with that domain already exists" {
+ if err.Message != "A team with that name already exists" {
t.Fatal(err)
}
}