diff --git a/app/presenters/publishing_api/case_study_presenter.rb b/app/presenters/publishing_api/case_study_presenter.rb index 51a33f055bd..62abad7aaff 100644 --- a/app/presenters/publishing_api/case_study_presenter.rb +++ b/app/presenters/publishing_api/case_study_presenter.rb @@ -22,7 +22,7 @@ def content details:, document_type:, public_updated_at: item.public_timestamp || item.updated_at, - rendering_app: Whitehall::RenderingApp::GOVERNMENT_FRONTEND, + rendering_app: Whitehall::RenderingApp::FRONTEND, schema_name: "case_study", auth_bypass_ids: [item.auth_bypass_id], ) diff --git a/test/unit/app/presenters/publishing_api/case_study_presenter_test.rb b/test/unit/app/presenters/publishing_api/case_study_presenter_test.rb index 242ddcd2d12..1a3ddb9173b 100644 --- a/test/unit/app/presenters/publishing_api/case_study_presenter_test.rb +++ b/test/unit/app/presenters/publishing_api/case_study_presenter_test.rb @@ -23,7 +23,7 @@ def present(edition) locale: "en", public_updated_at: case_study.public_timestamp, publishing_app: Whitehall::PublishingApp::WHITEHALL, - rendering_app: "government-frontend", + rendering_app: "frontend", routes: [ { path: public_path, type: "exact" }, ],