summaryrefslogtreecommitdiffstats
path: root/api/user_test.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-31 13:33:22 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-31 13:33:22 -0700
commit7de7de6ad0882ef25ed9be5bbd91576cc822206f (patch)
treedbd7268878456d9fc0dce82a72b804d14cc6ee21 /api/user_test.go
parent82a54f9363e3a6b7d4268ef951ac427e94deacb2 (diff)
downloadchat-7de7de6ad0882ef25ed9be5bbd91576cc822206f.tar.gz
chat-7de7de6ad0882ef25ed9be5bbd91576cc822206f.tar.bz2
chat-7de7de6ad0882ef25ed9be5bbd91576cc822206f.zip
MM-2056 fixes problem with creating team
Diffstat (limited to 'api/user_test.go')
-rw-r--r--api/user_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/api/user_test.go b/api/user_test.go
index 776b17b3c..b5435e3c0 100644
--- a/api/user_test.go
+++ b/api/user_test.go
@@ -68,12 +68,6 @@ func TestCreateUser(t *testing.T) {
}
}
- user2 := model.User{TeamId: rteam.Data.(*model.Team).Id, Email: strings.ToLower(model.NewId()) + "corey@test.com", Nickname: "Corey Hulen", Password: "hello", Username: model.BOT_USERNAME}
-
- if _, err := Client.CreateUser(&user2, ""); err == nil {
- t.Fatal("Should have failed using reserved bot name")
- }
-
if _, err := Client.DoPost("/users/create", "garbage"); err == nil {
t.Fatal("should have been an error")
}