0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/e2e-api/admin
Simon Backx 2db746e559
Added mrr column to subscriptions (#14448)
refs https://github.com/TryGhost/Team/issues/1457

We want to save the MRR with a subscription to simplify the calculation of the total MRR once, in 5.0, we also take 'forever' offers into account into the MRR (so we can just SUM the MRR of all subscriptions).

- Sets the MRR to 0 for now.
- Separate commit will fill in all the values in a data migration, but this needs to get merged first because we need this new column in order to update the members-api package (so we already save the MRR before doing the data migration).
- Updated `test/e2e-api/admin/legacy-members.test.js` with improved body assertions.
2022-04-12 11:02:18 +02:00
..
__snapshots__ Added the emails-newsletters relation (#14434) 2022-04-08 16:16:23 +02:00
actions.test.js Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
config.test.js 🐛 Fixed config API not returning boolean 2022-01-20 18:25:41 +02:00
custom-theme-settings.test.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
db.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
email-preview.test.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
emails.test.js Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
files.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
images.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
integrations.test.js Added serializer for integrations.destroy 2022-03-22 13:52:32 +00:00
invites.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
key-authentication.test.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
labels.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
legacy-members.test.js Added mrr column to subscriptions (#14448) 2022-04-12 11:02:18 +02:00
mail.test.js Added missing e2e mail API retry test 2022-03-28 17:32:57 +01:00
media.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
members-importer.test.js Moved members importer tests to its own test file 2022-02-15 11:16:43 +01:00
members-stripe-connect.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
members.test.js Added default newsletter subscription for new members (#14431) 2022-04-07 08:30:00 +05:30
newsletters.test.js Cleaned up newsletter schema migrations (#14441) 2022-04-08 19:06:30 +05:30
notifications.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
oembed.test.js 🐛 Fixes oembed bookmark with whitespaces 2021-12-01 15:58:09 +01:00
offers.test.js Added e2e tests for offers API (#14335) 2022-03-24 13:41:48 +01:00
pages.test.js Added tiers data for posts with non tiers visibility 2022-03-04 18:22:59 +05:30
posts.test.js Added tiers data for posts with non tiers visibility 2022-03-04 18:22:59 +05:30
products.test.js Added tests for creating product benefits without name (#14217) 2022-03-10 10:10:35 +01:00
redirects.test.js Added serializer for redirects.upload 2022-03-22 13:52:32 +00:00
roles.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
session.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
settings-files.test.js Added serializer for missing settings endpoints 2022-03-22 13:52:32 +00:00
settings.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
site.test.js Moved site.test.js from regression to e2e-api 2022-02-11 16:24:00 +00:00
slugs.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
snippets.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
stats.test.js Added MRR stats service and endpoint (#14427) 2022-04-08 09:18:04 +02:00
tags.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
themes.test.js Added serializer for themes.destroy 2022-03-22 13:52:32 +00:00
tiers.test.js Support tier visibility editing Allowed Tiers Admin API to set visibility 2022-03-07 14:46:42 +00:00
users.test.js Fixed error when editing user with empty roles data 2022-03-10 17:29:30 +00:00
utils.js Added alias for non-versioned API endpoints 2022-03-03 20:21:22 +13:00
webhooks.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00