diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-01-31 07:59:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-31 07:59:36 -0500 |
commit | 7431050b427af88c5e5358bf086176d7a680149b (patch) | |
tree | d75e8bd406086509e032be9b65cb42681393cd92 /api/team_test.go | |
parent | 450c0b3ccb091a3f84f35aca0319ba358ffd5633 (diff) | |
download | chat-7431050b427af88c5e5358bf086176d7a680149b.tar.gz chat-7431050b427af88c5e5358bf086176d7a680149b.tar.bz2 chat-7431050b427af88c5e5358bf086176d7a680149b.zip |
Implement POST /teams endpoint (#5220)
Diffstat (limited to 'api/team_test.go')
-rw-r--r-- | api/team_test.go | 2 |
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) } } |