Model: NewLocAppError -> NewAppError (#7450)

Этот коммит содержится в:
George Goldberg
2017-09-15 13:32:11 +01:00
коммит произвёл Joram Wilander
родитель 600beb5af3
Коммит 2be5577b88
20 изменённых файлов: 138 добавлений и 126 удалений

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

@@ -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