MM-22340: Fixing flaky tests around Team name validation (#13875)

* MM-22340: Fixing flaky tests around Team name validation

* Fixing other cases where can happend the flaky tests
Этот коммит содержится в:
Jesús Espino
2020-02-13 09:36:21 +01:00
коммит произвёл GitHub
родитель 35ac2629e2
Коммит 66fc096768
6 изменённых файлов: 25 добавлений и 25 удалений

Просмотреть файл

@@ -621,7 +621,7 @@ func TestDeleteScheme(t *testing.T) {
// Make sure this scheme is in use by a team.
team, err := th.App.Srv.Store.Team().Save(&model.Team{
Name: model.NewId(),
Name: "zz" + model.NewId(),
DisplayName: model.NewId(),
Email: model.NewId() + "@nowhere.com",
Type: model.TEAM_OPEN,