From 2be5577b88e5ff85a98b0a2b3e3a43b90cc99c6d Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Fri, 15 Sep 2017 13:32:11 +0100 Subject: Model: NewLocAppError -> NewAppError (#7450) --- api4/command_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4/command_test.go') diff --git a/api4/command_test.go b/api4/command_test.go index 7f61fddad..42c77e7b7 100644 --- a/api4/command_test.go +++ b/api4/command_test.go @@ -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 -- cgit v1.2.3-1-g7c22