mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Fixed tiers test with correct visibility (#14280)
refs https://github.com/TryGhost/Team/issues/1387
This commit is contained in:
parent
7c43191ca7
commit
e6c9dadec2
@ -24,7 +24,7 @@ Object {
|
|||||||
"stripe_prices": null,
|
"stripe_prices": null,
|
||||||
"type": "free",
|
"type": "free",
|
||||||
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
||||||
"visibility": "none",
|
"visibility": "public",
|
||||||
"welcome_page_url": "/welcome-free",
|
"welcome_page_url": "/welcome-free",
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
@ -38,7 +38,7 @@ Object {
|
|||||||
"stripe_prices": null,
|
"stripe_prices": null,
|
||||||
"type": "paid",
|
"type": "paid",
|
||||||
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,
|
||||||
"visibility": "none",
|
"visibility": "public",
|
||||||
"welcome_page_url": "/welcome-paid",
|
"welcome_page_url": "/welcome-paid",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -24,7 +24,7 @@ Object {
|
|||||||
"stripe_prices": null,
|
"stripe_prices": null,
|
||||||
"type": "free",
|
"type": "free",
|
||||||
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}/,
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}/,
|
||||||
"visibility": "none",
|
"visibility": "public",
|
||||||
"welcome_page_url": "/welcome-free",
|
"welcome_page_url": "/welcome-free",
|
||||||
},
|
},
|
||||||
Object {
|
Object {
|
||||||
@ -38,7 +38,7 @@ Object {
|
|||||||
"stripe_prices": null,
|
"stripe_prices": null,
|
||||||
"type": "paid",
|
"type": "paid",
|
||||||
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}/,
|
"updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}/,
|
||||||
"visibility": "none",
|
"visibility": "public",
|
||||||
"welcome_page_url": "/welcome-paid",
|
"welcome_page_url": "/welcome-paid",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@ -61,7 +61,7 @@ exports[`Tiers Content API Can request tiers 2: [headers] 1`] = `
|
|||||||
Object {
|
Object {
|
||||||
"access-control-allow-origin": "*",
|
"access-control-allow-origin": "*",
|
||||||
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
||||||
"content-length": "683",
|
"content-length": "687",
|
||||||
"content-type": "application/json; charset=utf-8",
|
"content-type": "application/json; charset=utf-8",
|
||||||
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
||||||
"vary": "Accept-Encoding",
|
"vary": "Accept-Encoding",
|
||||||
|
Loading…
Reference in New Issue
Block a user