diff --git a/lib/gds_api/test_helpers/email_alert_api.rb b/lib/gds_api/test_helpers/email_alert_api.rb index b3a8e4fc..609d9353 100644 --- a/lib/gds_api/test_helpers/email_alert_api.rb +++ b/lib/gds_api/test_helpers/email_alert_api.rb @@ -557,6 +557,7 @@ def build_subscriber_lists_url(attributes = nil) if attributes tags = attributes["tags"] links = attributes["links"] + content_id = attributes["content_id"] document_type = attributes["document_type"] email_document_supertype = attributes["email_document_supertype"] government_document_supertype = attributes["government_document_supertype"] @@ -566,6 +567,7 @@ def build_subscriber_lists_url(attributes = nil) params = {} params[:tags] = tags if tags params[:links] = links if links + params[:content_id] = content_id if content_id params[:document_type] = document_type if document_type params[:email_document_supertype] = email_document_supertype if email_document_supertype params[:government_document_supertype] = government_document_supertype if government_document_supertype