Skip to content

Commit

Permalink
Add nested_facet as a valid option for specialist_publisher finder sc…
Browse files Browse the repository at this point in the history
…hema
  • Loading branch information
minhngocd authored and lauraghiorghisor-tw committed Feb 12, 2025
1 parent dac43de commit bb53890
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
finder_schema["facets"].each do |facet|
next unless facet["specialist_publisher_properties"]

valid_keys = %w[select omit_from_finder_content_item validations]
valid_keys = %w[select omit_from_finder_content_item validations nested_facet]
facet["specialist_publisher_properties"].each_key do |key|
expect(valid_keys).to include(key), "In the '#{finder_schema['filter']['format']}' finder, facet '#{facet['key']}' has an invalid 'specialist_publisher_properties' key: '#{key}'"
end
Expand Down

0 comments on commit bb53890

Please sign in to comment.