Use 201 status code where appropriate for APIv4 (#5903)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
4e224c2996
Коммит
5f6d50bff1
@@ -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")
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user