X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/52738977b2715822954692a566049b7ebf54e7cc..5f7b9f0177ca5a045eddb791116f5e6ff823f7fc:/services/api/test/functional/arvados/v1/jobs_controller_test.rb diff --git a/services/api/test/functional/arvados/v1/jobs_controller_test.rb b/services/api/test/functional/arvados/v1/jobs_controller_test.rb index 7f4b9d52ce..07e7f840a1 100644 --- a/services/api/test/functional/arvados/v1/jobs_controller_test.rb +++ b/services/api/test/functional/arvados/v1/jobs_controller_test.rb @@ -103,7 +103,9 @@ class Arvados::V1::JobsControllerTest < ActionController::TestCase [ [:put, :update, {job:{cancelled_at: Time.now}}, :success], + [:put, :update, {job:{cancelled_at: nil}}, :unprocessable_entity], [:put, :update, {job:{state: 'Cancelled'}}, :success], + [:put, :update, {job:{state: 'Queued'}}, :unprocessable_entity], [:put, :update, {job:{state: 'Running'}}, :unprocessable_entity], [:put, :update, {job:{state: 'Failed'}}, :unprocessable_entity], [:put, :update, {job:{state: 'Complete'}}, :unprocessable_entity],