diff --git a/app/presenters/content_item/news_image.rb b/app/presenters/content_item/news_image.rb index 0a49663a5..595b7a5ce 100644 --- a/app/presenters/content_item/news_image.rb +++ b/app/presenters/content_item/news_image.rb @@ -12,7 +12,8 @@ def default_news_image end def placeholder_image - { "url" => "https://assets.publishing.service.gov.uk/government/assets/placeholder.jpg" } + # this image has been uploaded to asset-manager + { "url" => "https://assets.publishing.service.gov.uk/media/5e59279b86650c53b2cefbfe/placeholder.jpg" } end end end diff --git a/test/presenters/content_item/news_image_test.rb b/test/presenters/content_item/news_image_test.rb index a76f81b28..070dbd8d7 100644 --- a/test/presenters/content_item/news_image_test.rb +++ b/test/presenters/content_item/news_image_test.rb @@ -34,7 +34,7 @@ def initialize test "presents a placeholder image if document has no image or default news image" do item = DummyContentItem.new - placeholder_image = { "url" => "https://assets.publishing.service.gov.uk/government/assets/placeholder.jpg" } + placeholder_image = { "url" => "https://assets.publishing.service.gov.uk/media/5e59279b86650c53b2cefbfe/placeholder.jpg" } assert_equal placeholder_image, item.image end