Model: NewLocAppError -> NewAppError (#7450)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
600beb5af3
Коммит
2be5577b88
@@ -49,7 +49,7 @@ func TestCreateCommand(t *testing.T) {
|
||||
newCmd.Method = "Wrong"
|
||||
newCmd.Trigger = "testcommand"
|
||||
_, resp = th.SystemAdminClient.CreateCommand(newCmd)
|
||||
CheckInternalErrorStatus(t, resp)
|
||||
CheckBadRequestStatus(t, resp)
|
||||
CheckErrorMessage(t, resp, "model.command.is_valid.method.app_error")
|
||||
|
||||
*utils.Cfg.ServiceSettings.EnableCommands = false
|
||||
|
||||
Ссылка в новой задаче
Block a user