mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
79368f565f
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 |
||
---|---|---|
.. | ||
helpers | ||
advanced_url_config.test.js | ||
custom_routes.test.js | ||
default_routes.test.js | ||
email_routes.test.js | ||
member_stats.test.js | ||
members.test.js | ||
preview_routes.test.js |