Ghost/ghost/core/test
Naz 9390f0953f
Fixed {{price}} helper to render empty instead of throwing
refs https://github.com/TryGhost/Toolbox/issues/497
refs fb7532bf5d

- We downgraded the 'GS090-NO-PRICE-DATA-CURRENCY-CONTEXT' rule in gscan to non-fatal, meaning Ghost should not be throwing an error but instead render an empty value for {{price}} helper when price data is empty.
- For example, a legacy syntax like this: '{{price currency=@price.currency}}' should not cause a page render error but return an empty price string.
- The pattern of returning an empty string instead of crashing is used in other helpers like {{img_url}} and and {{url}}
2023-01-31 21:01:19 +08:00
..
e2e-api 🐛 Fixed storing original files for images (#16117) 2023-01-30 16:40:50 +01:00
e2e-browser Fixed Playwright test not awaiting Stripe setup 2023-01-31 11:26:42 +01:00
e2e-frontend Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
e2e-server Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
e2e-webhooks 🐛 Fixed tiers order by monthly_price (#16013) 2023-01-03 12:59:18 +04:00
integration Added mentions permissions (#16200) 2023-01-31 16:40:44 +08:00
regression Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
unit Fixed {{price}} helper to render empty instead of throwing 2023-01-31 21:01:19 +08:00
utils Added mentions permissions (#16200) 2023-01-31 16:40:44 +08:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00