Ghost/ghost/core/test
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
..
e2e-api 🐛 Fixed sending emails from email domain that includes www subdomain (#15348) 2022-09-02 16:57:59 +02:00
e2e-browser Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
e2e-frontend Fixed Tier events being created when Posts are edited 2022-09-05 17:19:27 +01:00
e2e-server Removed out of date history items from UrlHistory 2022-08-25 16:09:34 -04:00
e2e-webhooks Enabled member attribution flag in all tests (#15317) 2022-08-25 15:25:01 -04:00
integration Added members_subscription_created_events table & model 2022-08-18 10:45:53 -04:00
regression Renamed users:no-owner to users as main user fixture 2022-09-02 10:08:37 +01:00
unit 🐛 Fixed sending emails from email domain that includes www subdomain (#15348) 2022-09-02 16:57:59 +02:00
utils Removed unused resetRoles method 2022-09-05 09:32:54 +01: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