Ghost/ghost
Naz af4d7b4938 Fixed failing migration requests when client runs in a test env
no issue

- When Ghost is running in a test environment, it is configured with an invalid Stripe key that looks like `sk_test***`. In this case the migrations try runnig creating request to Stripe, which fail. The failures pollute the output, which makes other valid errors lost.
- An example of such error log is following:
```
Invalid API Key provided: sk_test_******ripe

----------------------------------------

Error: Invalid API Key provided: sk_test_******ripe
    at res.toJSON.then.StripeAPIError.message (/home/naz/Workspace/Ghost/Ghost/node_modules/stripe/lib/StripeResource.js:214:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
```
- There doesn't seem to be a good reason to do migrations in the test environment. Skipping them as a special case to fix the output pollution problem seems like a right solution
2022-04-05 21:36:22 +12:00
..
domain-events Published new versions 2022-03-11 22:45:26 +01:00
express-dynamic-redirects Published new versions 2022-04-04 21:08:04 +05:30
magic-link Published new versions 2022-03-11 22:45:26 +01:00
member-analytics-service Published new versions 2022-03-11 22:45:26 +01:00
member-events Published new versions 2022-03-11 22:45:26 +01:00
members-analytics-ingress Published new versions 2022-03-11 22:45:26 +01:00
members-api Published new versions 2022-04-04 21:08:04 +05:30
members-csv Published new versions 2022-04-04 21:08:04 +05:30
members-events-service Published new versions 2022-04-04 21:08:04 +05:30
members-importer Published new versions 2022-04-04 21:08:04 +05:30
members-ssr Published new versions 2022-03-11 22:45:26 +01:00
offers Published new versions 2022-03-11 22:45:26 +01:00
payments Published new versions 2022-03-11 22:45:26 +01:00
stripe Fixed failing migration requests when client runs in a test env 2022-04-05 21:36:22 +12:00
verification-trigger Published new versions 2022-03-11 22:45:26 +01:00