Ghost/test/utils
Rishabh Garg 36803a4290
🐛 Fixed incorrect @price.currency value in themes (#12987)
closes https://github.com/TryGhost/Ghost/issues/12986
refs 1345268089

As part of changes in 4.6, the default price ids for monthly/yearly prices are stored in new settings - `members_monthly_price_id`, `members_yearly_price_id` - which are used to determine current active prices for the site from list of all existing prices. While the last commit updated the prices to use the settings, the data for currency was still used from non-zero prices instead of the new settings value.

- Updated tests to check price currency
2021-05-27 10:49:35 +05:30
..
fixtures 🐛 Fixed incorrect @price.currency value in themes (#12987) 2021-05-27 10:49:35 +05:30
mocks 🔥 Added support for Node 14 2020-10-23 12:57:02 +01:00
api.js Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
db-utils.js Cleaned up some unused code in test fixtures 2021-04-26 13:20:07 +01:00
fixture-utils.js Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
index.js Fixed & unskipped subdirectory tests w/ new boot 2021-05-26 14:31:21 +01:00
old-integration-utils.js Moved theme service to core/server 2021-04-27 15:14:49 +01:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
url-service-utils.js Replaced db.ready event with direct call to urlservice 2021-02-23 10:05:59 +00:00
urlUtils.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00