summaryrefslogtreecommitdiffstats
path: root/api4/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/user_test.go')
-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 53dbd53e8..6a42d19d2 100644
--- a/api4/user_test.go
+++ b/api4/user_test.go
@@ -177,9 +177,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