Ghost/test
Rishabh Garg 1345268089
🐛 Fixed incorrect price data in themes (#12985)
closes https://github.com/TryGhost/Ghost/issues/12980
closes https://github.com/TryGhost/Team/issues/730

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. The `@price` helper was incorrectly still relying on the old logic for active monthly/yearly price using the first active price with matching nickname, and resulted in showing incorrect price data on the theme.

- Updated tests to check price data using settings value
2021-05-26 22:58:26 +05:30
..
api-acceptance Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
frontend-acceptance 🐛 Fixed incorrect price data in themes (#12985) 2021-05-26 22:58:26 +05:30
regression Fixed & unskipped subdirectory tests w/ new boot 2021-05-26 14:31:21 +01:00
unit Refactored scheduling index files into class/initializer pattern 2021-05-25 22:32:41 +04:00
utils 🐛 Fixed incorrect price data in themes (#12985) 2021-05-26 22:58:26 +05:30
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00