From 5f6d50bff1b4098bc0ef3c120e7b12104e5c4894 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 31 Mar 2017 09:56:20 -0400 Subject: Use 201 status code where appropriate for APIv4 (#5903) --- api4/command_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'api4/command_test.go') diff --git a/api4/command_test.go b/api4/command_test.go index 34396808f..aa3ad37b6 100644 --- a/api4/command_test.go +++ b/api4/command_test.go @@ -34,6 +34,7 @@ func TestCreateCommand(t *testing.T) { createdCmd, resp := th.SystemAdminClient.CreateCommand(newCmd) CheckNoError(t, resp) + CheckCreatedStatus(t, resp) if createdCmd.CreatorId != th.SystemAdminUser.Id { t.Fatal("user ids didn't match") } -- cgit v1.2.3-1-g7c22