0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/e2e-api/admin
Hannah Wolfe 7433378e6a Added serializer for redirects.upload
refs:  https://github.com/TryGhost/Toolbox/issues/245

- There was only a serializer in place for redirects.download.
- Upload was falling through, which means nothing happens by default atm
- We want to change this default, so I'm making sure all our routes have serializers declared and tests
- Updated the tests and checked the behaviour was the same before and after:
  - We can't use our new framework here yet because it doesn't support uploads or downloads
  - Instead, just add simple matching for the body of the responses
2022-03-22 13:52:32 +00:00
..
__snapshots__ Added dashboardV5 feature flag 2022-03-21 16:56:34 +01: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 Removed forceStart in theme e2e tests 2021-11-22 14:51:23 +04:00
db.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
email_preview.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
emails.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13: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 Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
invites.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
key_authentication.test.js Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
labels.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
legacy-members.test.js 🐛 Fixed member "last seen at" data not being returned in the API 2022-03-17 10:58:07 +00:00
mail.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13: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.test.js Updated members tests to use defined matcher 2022-03-19 16:06:07 +00:00
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
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 tests for session API 2022-03-18 13:13:16 +00:00
settings-files.test.js Updated settings to use new test framework 2022-03-19 16:06:07 +00:00
settings.test.js Added missing settings endpoint tests 2022-03-19 16:06:07 +00: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 Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
tags.test.js Renamed testUtils.startGhost to localUtils.startGhost 2021-11-22 21:56:32 +13:00
themes.test.js Removed ancient Casper fixture 2022-01-24 12:24:51 +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