Skip to content

Commit 512c710

Browse files
committed
Add condition for fixed value search in perform_search_with_system
- Update `perform_search_with_system` to exclude execution when `fixed_value_search?` is true. - Improve condition handling for token search parameters.
1 parent af4384a commit 512c710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/inferno_suite_generator/test_modules/search_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def perform_search(params, patient_id)
217217
end
218218

219219
perform_reference_with_type_search(params, resources_returned.count) if test_reference_variants?
220-
perform_search_with_system(params, patient_id) if token_search_params.present?
220+
perform_search_with_system(params, patient_id) if token_search_params.present? && !fixed_value_search?
221221

222222
resources_returned
223223
end

0 commit comments

Comments
 (0)