Skip to content

Commit

Permalink
change from delayed? to exclude_search_tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunwei Wang committed Feb 7, 2024
1 parent 5380d3f commit 5c0f021
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class SinglePatientAPIGroup < Inferno::TestGroup
id = test_group.id

group_config = {}
if test_group.respond_to?(:metadata) && test_group.metadata.delayed?
if test_group.respond_to?(:metadata) && test_group.metadata.exclude_search_tests?
test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest }
group_config[:options] = { read_all_resources: true }
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SinglePatientUSCore4APIGroup < Inferno::TestGroup
id = test_group.id

group_config = {}
if test_group.respond_to?(:metadata) && test_group.metadata.delayed?
if test_group.respond_to?(:metadata) && test_group.metadata.exclude_search_tests?
test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest }
group_config[:options] = { read_all_resources: true }
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def self.user_runnable?
id = test_group.id

group_config = {}
if test_group.respond_to?(:metadata) && test_group.metadata.delayed?
if test_group.respond_to?(:metadata) && test_group.metadata.exclude_search_tests?
test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest }
group_config[:options] = { read_all_resources: true }
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class SinglePatientUSCore6APIGroup < Inferno::TestGroup
id = test_group.id

group_config = {}
if test_group.respond_to?(:metadata) && test_group.metadata.resource != 'Specimen' && test_group.metadata.delayed?
if test_group.respond_to?(:metadata) && test_group.metadata.exclude_search_tests?
test_group.children.reject! { |child| child.include? USCoreTestKit::SearchTest }
group_config[:options] = { read_all_resources: true }
end
Expand Down

0 comments on commit 5c0f021

Please sign in to comment.