diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/newsletters.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/newsletters.test.js.snap index 599f55d552..767fbe7740 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/newsletters.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/newsletters.test.js.snap @@ -497,7 +497,7 @@ exports[`Newsletters API Can add a newsletter - with custom sender_email and sub - +
Confirm email address Confirm email address
@@ -508,7 +508,7 @@ exports[`Newsletters API Can add a newsletter - with custom sender_email and sub

For your security, the link will expire in 24 hours time.


You can also copy & paste this URL into your browser:

-

http://127.0.0.1:2369/ghost/#/settings/newsletters/?verifyEmail=9f3o0M5oO6Drr69T7Jd84D73-UKmWSD0

+

http://127.0.0.1:2369/ghost/#/settings/newsletters/?verifyEmail=REPLACED_TOKEN

@@ -715,6 +715,23 @@ exports[`Newsletters API Can add a newsletter - with custom sender_email and sub " `; +exports[`Newsletters API Can add a newsletter - with custom sender_email and subscribe existing members 4: [text 1] 1`] = ` +" + Hey there, + + Please confirm your email address with this link: + + http://127.0.0.1:2369/ghost/#/settings/newsletters/?verifyEmail=REPLACED_TOKEN + + For your security, the link will expire in 24 hours time. + + --- + + Sent to test@example.com + If you did not make this request, you can simply delete this message. This email address will not be used. + " +`; + exports[`Newsletters API Can add a newsletter - with custom sender_email and subscribe existing members 5: [text 1] 1`] = ` " Hey there, diff --git a/ghost/core/test/e2e-api/admin/newsletters.test.js b/ghost/core/test/e2e-api/admin/newsletters.test.js index 0fc23664ed..c7404703ba 100644 --- a/ghost/core/test/e2e-api/admin/newsletters.test.js +++ b/ghost/core/test/e2e-api/admin/newsletters.test.js @@ -726,7 +726,6 @@ describe('Newsletters API', function () { emailMockReceiver .assertSentEmailCount(1) - .matchHTMLSnapshot() .matchHTMLSnapshot([{ pattern: queryStringToken('verifyEmail'), replacement: 'verifyEmail=REPLACED_TOKEN'