коммит произвёл
mattermod
родитель
72f3bb10c7
Коммит
6e6a44764c
@@ -595,7 +595,7 @@ func TestImportImportChannel(t *testing.T) {
|
||||
scheme2 := th.SetupChannelScheme()
|
||||
|
||||
// Import a Team.
|
||||
teamName := model.NewId()
|
||||
teamName := model.NewRandomTeamName()
|
||||
th.App.ImportTeam(&TeamImportData{
|
||||
Name: &teamName,
|
||||
DisplayName: ptrStr("Display Name"),
|
||||
@@ -862,7 +862,7 @@ func TestImportImportUser(t *testing.T) {
|
||||
data.Password = ptrStr("TestPassword")
|
||||
|
||||
// Test team and channel memberships
|
||||
teamName := model.NewId()
|
||||
teamName := model.NewRandomTeamName()
|
||||
th.App.ImportTeam(&TeamImportData{
|
||||
Name: &teamName,
|
||||
DisplayName: ptrStr("Display Name"),
|
||||
@@ -1570,7 +1570,7 @@ func TestImportImportPost(t *testing.T) {
|
||||
defer th.TearDown()
|
||||
|
||||
// Create a Team.
|
||||
teamName := model.NewId()
|
||||
teamName := model.NewRandomTeamName()
|
||||
th.App.ImportTeam(&TeamImportData{
|
||||
Name: &teamName,
|
||||
DisplayName: ptrStr("Display Name"),
|
||||
@@ -2510,7 +2510,7 @@ func TestImportPostAndRepliesWithAttachments(t *testing.T) {
|
||||
defer th.TearDown()
|
||||
|
||||
// Create a Team.
|
||||
teamName := model.NewId()
|
||||
teamName := model.NewRandomTeamName()
|
||||
th.App.ImportTeam(&TeamImportData{
|
||||
Name: &teamName,
|
||||
DisplayName: ptrStr("Display Name"),
|
||||
|
||||
@@ -143,7 +143,7 @@ func TestImportBulkImport(t *testing.T) {
|
||||
|
||||
th.App.UpdateConfig(func(cfg *model.Config) { *cfg.ServiceSettings.EnableCustomEmoji = true })
|
||||
|
||||
teamName := model.NewId()
|
||||
teamName := model.NewRandomTeamName()
|
||||
channelName := model.NewId()
|
||||
username := model.NewId()
|
||||
username2 := model.NewId()
|
||||
|
||||
Ссылка в новой задаче
Block a user