Skip to content

Commit

Permalink
Add MAY tests to the suite
Browse files Browse the repository at this point in the history
Ref: #208
  • Loading branch information
projkov committed Dec 2, 2024
1 parent a9e79d4 commit d6fc8ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/au_core_test_kit/generator/search_metadata_extractor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def basic_searches

resource_capabilities.searchParam
.select do |search_param|
%w[SHALL SHOULD].include? conformance_expectation(search_param)
%w[SHALL SHOULD MAY].include? conformance_expectation(search_param)
end
.map do |search_param|
{
Expand All @@ -57,7 +57,7 @@ def combo_searches

search_extensions
.select { |extension| extension.url == COMBO_EXTENSION_URL }
.select { |extension| %w[SHALL SHOULD].include? conformance_expectation(extension) }
.select { |extension| %w[SHALL SHOULD MAY].include? conformance_expectation(extension) }
.map do |extension|
names = extension.extension.select { |param| param.valueString.present? }.map(&:valueString)
{
Expand Down

0 comments on commit d6fc8ab

Please sign in to comment.