Sha256: 1231fe67fc6c89ff6338412d1d16d36dcc5d373e1a6be841c2f8fd57aeb22f77
Contents?: true
Size: 1.85 KB
Versions: 4
Compression:
Stored size: 1.85 KB
Contents
require_relative '../../../search_test' require_relative '../../../generator/group_metadata' module DaVinciPlanNetTestKit module DaVinciPlanNetV110 class NetworkIncludeOrganizationCoverageAreaSearchTest < Inferno::Test include DaVinciPlanNetTestKit::SearchTest title 'Server returns Location resources from Organization search with _include=Organization:coverage-area' description %( A server SHALL be capable of supporting _includes on search parameter Organization:coverage-area. This test will perform a search on Organization with _include=Organization:coverage-area and the '_id' search parameter using an id with a reference to a Location identified during instance gathering. The test will pass if at least one Location resource is found in the response and each instance that does is referenced by a returned Organization instance. ) id :davinci_plan_net_v110_include_network_organization_coverage_area_search_test def properties @properties ||= SearchTestProperties.new( resource_type: 'Organization', search_param_names: [], include_param: 'Organization:coverage-area', inc_param_sp: 'coverage-area', additional_resource_type: 'Location' ) end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'))) end def self.additional_metadata @additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'location', 'metadata.yml'), aliases: true)) end def scratch_resources scratch[:network_resources] ||= {} end def scratch_additional_resources scratch[:location_resources] ||= {} end run do run_include_search_test end end end end
Version data entries
4 entries across 4 versions & 1 rubygems