From 2051176143ec8263f8c92e73a665aa095ee1b614 Mon Sep 17 00:00:00 2001 From: Emily Michaud <59289146+emichaud998@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:37:12 -0400 Subject: [PATCH] Remove temporary fix for optional? function --- .../generator/search_test_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb b/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb index 66f99520..d9cbc427 100644 --- a/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb +++ b/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb @@ -137,7 +137,7 @@ def required_comparators end def optional? - conformance_expectation != 'SHALL' || (!search_metadata[:must_support_or_mandatory].nil? && !search_metadata[:must_support_or_mandatory]) + conformance_expectation != 'SHALL' || search_metadata[:must_support_or_mandatory] end def search_definition(name)