summaryrefslogtreecommitdiffstats
path: root/api4/apitestlib.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/apitestlib.go')
-rw-r--r--api4/apitestlib.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/apitestlib.go b/api4/apitestlib.go
index 0761a8b15..08ca338c5 100644
--- a/api4/apitestlib.go
+++ b/api4/apitestlib.go
@@ -278,11 +278,11 @@ func GenerateTestUsername() string {
}
func GenerateTestTeamName() string {
- return "faketeam" + model.NewId()
+ return "faketeam" + model.NewRandomString(6)
}
func GenerateTestChannelName() string {
- return "fakechannel" + model.NewId()
+ return "fakechannel" + model.NewRandomString(10)
}
func VerifyUserEmail(userId string) {