MM-54502 - Update regex to force first character to be alpha (#24675)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5bfb32c504
Коммит
08ed72f060
@@ -15,7 +15,7 @@ import (
|
||||
func (s *MmctlE2ETestSuite) TestAssignUsersCmd() {
|
||||
s.SetupEnterpriseTestHelper().InitBasic()
|
||||
|
||||
user, appErr := s.th.App.CreateUser(s.th.Context, &model.User{Email: s.th.GenerateTestEmail(), Username: model.NewId(), Password: model.NewId()})
|
||||
user, appErr := s.th.App.CreateUser(s.th.Context, &model.User{Email: s.th.GenerateTestEmail(), Username: model.NewUsername(), Password: model.NewId()})
|
||||
s.Require().Nil(appErr)
|
||||
|
||||
s.Run("MM-T3721 Should not allow normal user to assign a role", func() {
|
||||
@@ -68,7 +68,7 @@ func (s *MmctlE2ETestSuite) TestAssignUsersCmd() {
|
||||
func (s *MmctlE2ETestSuite) TestUnassignUsersCmd() {
|
||||
s.SetupEnterpriseTestHelper().InitBasic()
|
||||
|
||||
user, appErr := s.th.App.CreateUser(s.th.Context, &model.User{Email: s.th.GenerateTestEmail(), Username: model.NewId(), Password: model.NewId()})
|
||||
user, appErr := s.th.App.CreateUser(s.th.Context, &model.User{Email: s.th.GenerateTestEmail(), Username: model.NewUsername(), Password: model.NewId()})
|
||||
s.Require().Nil(appErr)
|
||||
|
||||
s.Run("MM-T3965 Should not allow normal user to unassign a user from a role", func() {
|
||||
|
||||
Ссылка в новой задаче
Block a user