diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/command_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |