X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/be4852ec32e5eeed1af9a62017cfc39ed66ac186..5ea0a240eb08a4d43d5f7670a694f0158f0bac36:/services/api/test/integration/pipeline_test.rb diff --git a/services/api/test/integration/pipeline_test.rb b/services/api/test/integration/pipeline_test.rb index 6a264bbe79..d4f7eba302 100644 --- a/services/api/test/integration/pipeline_test.rb +++ b/services/api/test/integration/pipeline_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class PipelineIntegrationTest < ActionDispatch::IntegrationTest @@ -24,13 +28,17 @@ class PipelineIntegrationTest < ActionDispatch::IntegrationTest } post("/arvados/v1/pipeline_instances", - {pipeline_instance: {components: {comp_name => component}}.to_json}, - auth(:active)) + params: { + pipeline_instance: { + components: {comp_name => component} + }.to_json + }, + headers: auth(:active)) check_component_match(comp_name, component) pi_uuid = json_response["uuid"] @response = nil - get("/arvados/v1/pipeline_instances/#{pi_uuid}", {}, auth(:active)) + get("/arvados/v1/pipeline_instances/#{pi_uuid}", params: {}, headers: auth(:active)) check_component_match(comp_name, component) end end