Ghost/ghost/core/test
Chris Raible 70304d92d4
🐛 Fixed bug preventing changes to tier benefit capitalization (#18406)
fixes TryGhost/Product#3970

- When saving a tier, it is impossible to change the capitalization of a
benefit
- The logic when saving a tier matches benefits by `name.toLowercase()`
and then overwrites the incoming change with the name from the previous
version of the benefit
- This changes the logic to match benefits the same way using
`name.toLowercase()`, but use the _incoming_ benefit's capitalization
rather than the old benefit's, to allow users to e.g. change 'TEst
benefit' to 'Test benefit'
2023-10-05 19:04:11 -07:00
..
e2e-api 🐛 Fixed bug preventing changes to tier benefit capitalization (#18406) 2023-10-05 19:04:11 -07:00
e2e-browser Fixed e2e-browser publishing tests 2023-10-04 13:20:05 +01:00
e2e-frontend Added Source as the new default theme 2023-10-03 14:02:08 +02:00
e2e-server Added order option to recommendations API with sorting on counts (#18417) 2023-10-02 14:51:03 +00:00
e2e-webhooks Updated snapshots to include got 13 support for brotli 2023-09-26 12:45:14 +01:00
integration Added Source as the new default theme 2023-10-03 14:02:08 +02:00
regression Added Source as the new default theme 2023-10-03 14:02:08 +02:00
unit Added click tracking for recommendations helper (#18496) 2023-10-05 11:37:02 +02:00
utils Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00