From b0b9888a77dc73b152186caac8468f971ea1646e Mon Sep 17 00:00:00 2001 From: Yunwei Wang <> Date: Wed, 7 Feb 2024 15:04:21 -0600 Subject: [PATCH] rubocop --- .../single_patient_api_group.rb | 4 +++- .../single_patient_us_core_4_api_group.rb | 4 +++- .../single_patient_us_core_5_api_group.rb | 4 +++- .../single_patient_us_core_6_api_group.rb | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/onc_certification_g10_test_kit/single_patient_api_group.rb b/lib/onc_certification_g10_test_kit/single_patient_api_group.rb index c7deb9a2..598c512a 100644 --- a/lib/onc_certification_g10_test_kit/single_patient_api_group.rb +++ b/lib/onc_certification_g10_test_kit/single_patient_api_group.rb @@ -114,7 +114,9 @@ class SinglePatientAPIGroup < Inferno::TestGroup id = test_group.id group_config = {} - if test_group.respond_to?(:metadata) && test_group.metadata.delayed? && !test_group.metadata.searchable_delayed_resource? + if test_group.respond_to?(:metadata) && + test_group.metadata.delayed? && + !test_group.metadata.searchable_delayed_resource? test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest } group_config[:options] = { read_all_resources: true } end diff --git a/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb b/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb index 0da0d4d2..19a02d7b 100644 --- a/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb +++ b/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb @@ -126,7 +126,9 @@ class SinglePatientUSCore4APIGroup < Inferno::TestGroup id = test_group.id group_config = {} - if test_group.respond_to?(:metadata) && test_group.metadata.delayed? && !test_group.metadata.searchable_delayed_resource? + if test_group.respond_to?(:metadata) && + test_group.metadata.delayed? && + !test_group.metadata.searchable_delayed_resource? test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest } group_config[:options] = { read_all_resources: true } end diff --git a/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb b/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb index 5ae7b359..03ed2fe9 100644 --- a/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb +++ b/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb @@ -145,7 +145,9 @@ def self.user_runnable? id = test_group.id group_config = {} - if test_group.respond_to?(:metadata) && test_group.metadata.delayed? && !test_group.metadata.searchable_delayed_resource? + if test_group.respond_to?(:metadata) && + test_group.metadata.delayed? && + !test_group.metadata.searchable_delayed_resource? test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest } group_config[:options] = { read_all_resources: true } end diff --git a/lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb b/lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb index bf6bd3cf..50e384db 100644 --- a/lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb +++ b/lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb @@ -168,7 +168,9 @@ class SinglePatientUSCore6APIGroup < Inferno::TestGroup id = test_group.id group_config = {} - if test_group.respond_to?(:metadata) && test_group.metadata.delayed? && !test_group.metadata.searchable_delayed_resource? + if test_group.respond_to?(:metadata) && + test_group.metadata.delayed? && + !test_group.metadata.searchable_delayed_resource? test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest } group_config[:options] = { read_all_resources: true } end