Skip to content

Commit

Permalink
Add world_index to the list of schema types
Browse files Browse the repository at this point in the history
It was added in alphagov/publishing-api#2328

It'll resolves the following error:
  Etl::Edition::Content::Parser::InvalidSchemaError
  Schema does not exist: world_index (Etl::Edition::Content::Parser::InvalidSchemaError)

https://govuk.sentry.io/issues/4030491953/events/f18dab751c2c480bab9dae21e08d739c/
  • Loading branch information
AgaDufrat committed Oct 16, 2024
1 parent 5850461 commit 1f1e2da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/domain/etl/edition/content/parsers/no_content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def schemas
substitute
topic
vanish
world_index
world_location
]
end
Expand Down
1 change: 1 addition & 0 deletions spec/domain/etl/edition/content/no_content_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
substitute
topic
vanish
world_index
world_location
]
no_content_schemas.each do |schema|
Expand Down

0 comments on commit 1f1e2da

Please sign in to comment.