Sha256: c7131807356b725ae2469d613a97eca50a5dd796dd1a31f8b7109d0f1259c39e

Contents?: true

Size: 925 Bytes

Versions: 4

Compression:

Stored size: 925 Bytes

Contents

# frozen_string_literal: true

require_relative '../export_cancel_tests'

module BulkDataTestKit
  module BulkDataV200
    class BulkDataExportCancelTest < Inferno::Test
      include BulkDataTestKit::BulkDataExportCancelTests

      title 'Bulk Data Server returns a 404 and OperationOutcome for polling requests to cancelled exports'
      description <<~DESCRIPTION
        > Following the delete request, when subsequent requests are made to the
          polling location, the server SHALL return a 404 Not Found error and an
          associated FHIR OperationOutcome in JSON format.

        http://hl7.org/fhir/uv/bulkdata/STU2/export.html#bulk-data-delete-request
      DESCRIPTION

      id :bulk_data_export_cancel_stu2

      input :cancelled_polling_url
      input :bearer_token,
            optional: true

      run do
        perform_cancelled_polling_test(cancelled_polling_url)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bulk_data_test_kit-0.11.1 lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb
bulk_data_test_kit-0.11.0 lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb
bulk_data_test_kit-0.10.1 lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb
bulk_data_test_kit-0.10.0 lib/bulk_data_test_kit/v2.0.0/bulk_data_export_cancel_test.rb