Ghost/test/regression/api/admin
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
..
__snapshots__ Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
authentication.test.js Renamed reset_all_passwords Authentication API endpoint to /global_password_reset 2022-04-28 15:37:11 +01:00
db.test.js Updated mapping for stripe_products when product import is skipped (#14965) 2022-06-03 17:31:53 +01:00
identities.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
images.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
members-importer.test.js Updated all members tests to use mockManager 2022-02-10 12:21:05 +00:00
members-signin-url.test.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
notifications.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
pages.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
posts.test.js Renamed newsletter_id and email_recipient_filter options (#14798) 2022-05-16 10:18:04 +02:00
redirects.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
schedules.test.js Cleaned up schedules test suite from author_id field 2022-05-09 20:43:19 +08:00
settings.test.js 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
slack.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
update-user-last-seen.test.js Fixed last_seen updated for suspended users (#14715) 2022-05-10 13:34:12 +02:00
users.test.js Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
utils.js Renamed newsletter_id and email_recipient_filter options (#14798) 2022-05-16 10:18:04 +02:00
webhooks.test.js Removed subscriber-related webhook fixtures 2022-05-26 14:45:36 +08:00