Fixed snapshots for frontend frontend member data APIs

refs https://github.com/TryGhost/Team/issues/2888
This commit is contained in:
Rishabh 2023-04-05 00:01:43 +05:30
parent d29d541326
commit 76ed31464b

View File

@ -3,6 +3,7 @@
exports[`Comments API when authenticated can get member data 1: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -37,7 +38,7 @@ exports[`Comments API when authenticated can get member data 2: [headers] 1`] =
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "489",
"content-length": "529",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",
@ -48,6 +49,7 @@ Object {
exports[`Comments API when authenticated can remove member from suppression list and resubscribe to default newsletters 1: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -69,7 +71,7 @@ exports[`Comments API when authenticated can remove member from suppression list
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "310",
"content-length": "350",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",
@ -80,6 +82,7 @@ Object {
exports[`Comments API when authenticated can remove member from suppression list and resubscribe to default newsletters 3: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -114,7 +117,7 @@ exports[`Comments API when authenticated can remove member from suppression list
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "500",
"content-length": "540",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",
@ -125,6 +128,7 @@ Object {
exports[`Comments API when authenticated can update comment notifications 1: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -159,7 +163,7 @@ exports[`Comments API when authenticated can update comment notifications 2: [he
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "501",
"content-length": "541",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",
@ -262,6 +266,7 @@ Object {
exports[`Comments API when authenticated can update member expertise 1: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -296,7 +301,7 @@ exports[`Comments API when authenticated can update member expertise 2: [headers
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "502",
"content-length": "542",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",
@ -307,6 +312,7 @@ Object {
exports[`Comments API when authenticated can update name 1: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -341,7 +347,7 @@ exports[`Comments API when authenticated can update name 2: [headers] 1`] = `
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "500",
"content-length": "540",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",
@ -352,6 +358,7 @@ Object {
exports[`Comments API when authenticated trims whitespace from expertise 1: [body] 1`] = `
Object {
"avatar_image": null,
"created_at": "2023-04-04T18:30:54.000Z",
"email": "member@example.com",
"email_suppression": Object {
"info": null,
@ -386,7 +393,7 @@ exports[`Comments API when authenticated trims whitespace from expertise 2: [hea
Object {
"access-control-allow-origin": "*",
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
"content-length": "491",
"content-length": "531",
"content-type": "application/json; charset=utf-8",
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
"vary": "Accept-Encoding",