diff --git a/app/views/shared/_email_subscribe_unsubscribe_flash.html.erb b/app/views/shared/_email_subscribe_unsubscribe_flash.html.erb
index 88c9480be..7b30e919d 100644
--- a/app/views/shared/_email_subscribe_unsubscribe_flash.html.erb
+++ b/app/views/shared/_email_subscribe_unsubscribe_flash.html.erb
@@ -18,7 +18,7 @@
} %>
-<% elsif @account_flash.include?("email-subscribe-already-subscribed") %>
+<% elsif @account_flash.include?("email-subscription-already-subscribed") %>
<%= render "govuk_publishing_components/components/success_alert", {
diff --git a/test/controllers/content_items_controller_test.rb b/test/controllers/content_items_controller_test.rb
index 8f6baa115..48f7b131b 100644
--- a/test/controllers/content_items_controller_test.rb
+++ b/test/controllers/content_items_controller_test.rb
@@ -392,7 +392,7 @@ class ContentItemsControllerTest < ActionController::TestCase
test "displays the already subscribed success banner when the 'email-subscribe-already-subscribed' flash is present" do
content_item = content_store_has_schema_example("publication", "publication")
- request.headers["GOVUK-Account-Session"] = GovukPersonalisation::Flash.encode_session("session-id", %w[email-subscribe-already-subscribed])
+ request.headers["GOVUK-Account-Session"] = GovukPersonalisation::Flash.encode_session("session-id", %w[email-subscription-already-subscribed])
get :show, params: { path: path_for(content_item) }
assert response.body.include?("already getting emails about this page")
end