diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-01 08:49:54 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-01 08:49:54 -0400 |
commit | 72575ac7bdd5bfe7bd544ba238f8d1c0126635aa (patch) | |
tree | f1ed51dfc87879e73261625f3afb4d4169e2a3f8 /api/user_test.go | |
parent | 0b3db018d33601a44c86d08771441c5dacd18969 (diff) | |
parent | 8d6c35481124d7e30bdb559f440c48b3e5eb4e0d (diff) | |
download | chat-72575ac7bdd5bfe7bd544ba238f8d1c0126635aa.tar.gz chat-72575ac7bdd5bfe7bd544ba238f8d1c0126635aa.tar.bz2 chat-72575ac7bdd5bfe7bd544ba238f8d1c0126635aa.zip |
Merging release branch 'release-0.7.0'
Diffstat (limited to 'api/user_test.go')
-rw-r--r-- | api/user_test.go | 6 |
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") } |