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 767fbe7740..84c947ee14 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 @@ -546,6 +546,15 @@ 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 3: [metadata 1] 1`] = ` +Object { + "forceTextContent": true, + "from": "noreply@example.com", + "subject": "Verify email address", + "to": "test@example.com", +} +`; + exports[`Newsletters API Can add a newsletter - with custom sender_email and subscribe existing members 4: [html 1] 1`] = ` " diff --git a/ghost/core/test/e2e-api/admin/newsletters.test.js b/ghost/core/test/e2e-api/admin/newsletters.test.js index c7404703ba..09805d67cb 100644 --- a/ghost/core/test/e2e-api/admin/newsletters.test.js +++ b/ghost/core/test/e2e-api/admin/newsletters.test.js @@ -726,6 +726,7 @@ describe('Newsletters API', function () { emailMockReceiver .assertSentEmailCount(1) + .matchMetadataSnapshot() .matchHTMLSnapshot([{ pattern: queryStringToken('verifyEmail'), replacement: 'verifyEmail=REPLACED_TOKEN'