Skip to content

Commit

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

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

https://govuk.sentry.io/issues/5176804130/events/7fb1eb6bf44a4e44a88a8008d5dccee9/
  • Loading branch information
AgaDufrat committed Oct 16, 2024
1 parent 7f8f22d commit 5850461
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 @@ -40,6 +40,7 @@ def schemas
role_appointment
smart_answer
special_route
substitute
topic
vanish
world_location
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 @@ -42,6 +42,7 @@
role_appointment
smart_answer
special_route
substitute
topic
vanish
world_location
Expand Down

0 comments on commit 5850461

Please sign in to comment.