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 удалений

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

@@ -70,7 +70,7 @@ func manualTest(c *web.Context, w http.ResponseWriter, r *http.Request) {
// Create team for testing
team := &model.Team{
DisplayName: teamDisplayName[0],
Name: utils.RandomName(utils.Range{Begin: 20, End: 20}, utils.LOWERCASE),
Name: "zz" + utils.RandomName(utils.Range{Begin: 20, End: 20}, utils.LOWERCASE),
Email: "success+" + model.NewId() + "simulator.amazonses.com",
Type: model.TEAM_OPEN,
}