[MM-56061] Only render where field in model.AppError when it's present (#25648)
* Only render where field in model.AppError when it's present * Remove trailing comma from permission error
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a54f927e3d
Коммит
5b6b425cfc
@@ -151,7 +151,7 @@ func (s *MmctlE2ETestSuite) TestListBotCmdF() {
|
||||
|
||||
err := botListCmdF(s.th.Client, cmd, []string{})
|
||||
s.Require().Error(err)
|
||||
s.Require().Equal("Failed to fetch bots: : You do not have the appropriate permissions.", err.Error())
|
||||
s.Require().Equal("Failed to fetch bots: You do not have the appropriate permissions.", err.Error())
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user