mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
0ef5a5c97a
refs: https://github.com/TryGhost/Toolbox/issues/245 refs: https://github.com/TryGhost/Team/issues/1360 - As a result of my changes in https://github.com/TryGhost/Ghost/commit/3bd4d098 the members connect endpoint had started returning JSON - This is because the members connect endpoint relied on the old default behaviour of the serializer being to return no response, whereas now it does our default JSON response format - I had written a tool to iterate over all endpoints and ensure that they all had explicit serializers before changing the default behaviour, but it missed this endpoint due to the snake case naming - I have double checked and this was the only missed endpoint, the only other one was member_signin_urls.permissions but that was not a true endpoint and was removed in https://github.com/TryGhost/Ghost/commit/202696382 - Note: the snapshot file for this test was generated from running the test against https://github.com/TryGhost/Ghost/commit/e6b92aed9 - one commit before I added the new default behaviour. - Without the new serializer this test fails on main - With the new serialzier, this test passes again, showing the response format has gone back to what we expect |
||
---|---|---|
.. | ||
__snapshots__ | ||
actions.test.js | ||
config.test.js | ||
custom_theme_settings.test.js | ||
db.test.js | ||
email_preview.test.js | ||
emails.test.js | ||
files.test.js | ||
images.test.js | ||
integrations.test.js | ||
invites.test.js | ||
key_authentication.test.js | ||
labels.test.js | ||
legacy-members.test.js | ||
mail.test.js | ||
media.test.js | ||
members-importer.test.js | ||
members-stripe-connect.test.js | ||
members.test.js | ||
notifications.test.js | ||
oembed.test.js | ||
offers.test.js | ||
pages.test.js | ||
posts.test.js | ||
products.test.js | ||
redirects.test.js | ||
roles.test.js | ||
session.test.js | ||
settings-files.test.js | ||
settings.test.js | ||
site.test.js | ||
slugs.test.js | ||
snippets.test.js | ||
tags.test.js | ||
themes.test.js | ||
tiers.test.js | ||
users.test.js | ||
utils.js | ||
webhooks.test.js |