Ghost/test
Matt Hanley 859d49626c
Updated mapping for stripe_products when product import is skipped (#14965)
refs d63e9256ea

- Following the ref'd commit, when migrating a site the default and free tiers would be skipped because they exist by default in the new site
- As the product is skipped, we don't have the ID available in the imported data to map the stripe_product to
- If the stripe_product isn't mapped, imported members won't be mapped to the correct tier
- This commit adds a lookup for the product by name and slug to restore the correct stripe_product mapping

Co-authored-by: Simon Backx <simon@ghost.org>
2022-06-03 17:31:53 +01:00
..
e2e-api 🐛 Fixed an error when updating a user 2022-06-02 12:13:27 +01:00
e2e-browser
e2e-frontend
e2e-server
e2e-webhooks Added e2e test coverage for post.added event 2022-06-03 14:56:55 +08:00
integration Added integration test for MEGA.sendEmailJob (#14944) 2022-05-30 15:41:02 +02:00
regression Updated mapping for stripe_products when product import is skipped (#14965) 2022-06-03 17:31:53 +01:00
unit Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
utils Added webhook fixute utils 2022-06-03 11:57:39 +08:00
.eslintignore
.eslintrc.js
.jshintrc