Skip to content

Commit 4b1d317

Browse files
committed
Update ContentItemAttachmentsTest to use test email address
The ContentItemAttachment uses a govuk_publishing_components component that has an array of emails taking part in a pilot scheme. As this array can change, this commit updates one of the emails used in a test for a pre-defined example email address that will always be present.
1 parent 4ae04f0 commit 4b1d317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/views/content_items/attachments.html.erb_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ContentItemsAttachmentsTest < ActionView::TestCase
2121
{ "id" => "attachment_id",
2222
"title" => "Some title",
2323
"url" => "some/url",
24-
"alternative_format_contact_email" => "[email protected]" },
24+
"alternative_format_contact_email" => "[email protected]" },
2525
],
2626
},
2727
},

0 commit comments

Comments
 (0)