summaryrefslogtreecommitdiffstats
path: root/api4
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-17 12:42:23 -0400
committerGeorge Goldberg <george@gberg.me>2017-03-17 16:42:23 +0000
commitf4473cf312d09a53a57312745963aee334e251cb (patch)
tree0832fdd2e291614640f378116dca90ced9faf7c8 /api4
parent91d430b2a39a03b052cc103f73f44c68cbc96b2d (diff)
downloadchat-f4473cf312d09a53a57312745963aee334e251cb.tar.gz
chat-f4473cf312d09a53a57312745963aee334e251cb.tar.bz2
chat-f4473cf312d09a53a57312745963aee334e251cb.zip
PLT-5943 Reduce minimum username length (#5798)
Diffstat (limited to 'api4')
-rw-r--r--api4/user_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/api4/user_test.go b/api4/user_test.go
index c03169c72..155758d35 100644
--- a/api4/user_test.go
+++ b/api4/user_test.go
@@ -160,9 +160,6 @@ func TestGetUserByUsername(t *testing.T) {
_, resp = Client.GetUserByUsername(GenerateTestUsername(), "")
CheckNotFoundStatus(t, resp)
- _, resp = Client.GetUserByUsername(model.NewRandomString(1), "")
- CheckBadRequestStatus(t, resp)
-
// Check against privacy config settings
emailPrivacy := utils.Cfg.PrivacySettings.ShowEmailAddress
namePrivacy := utils.Cfg.PrivacySettings.ShowFullName