Ghost/ghost/core/test/e2e-frontend
Daniel Lockyer 79368f565f
Fixed Tier events being created when Posts are edited
refs https://github.com/TryGhost/Team/issues/1875

- due to an misbehavior in our model layer, when `tiers` is set on a Post, it'll
  trigger a save of the Tier, and this produces an extra event in the
  `actions` table
- mapping the Tier(s) to just the ID prevents bookshelf-relations from
  editing the Tier and thus prevents the extra event
- also fixed tests which were implicitly assuming supplying a slug to a
  post would create the product
2022-09-05 17:19:27 +01:00
..
helpers Fixed Tier events being created when Posts are edited 2022-09-05 17:19:27 +01:00
advanced_url_config.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
custom_routes.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
default_routes.test.js Fixed the typo 2022-08-04 15:38:32 +01:00
email_routes.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
member_stats.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
members.test.js Added missing return in create-stripe-update-session 2022-08-29 14:02:58 +02:00
preview_routes.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00