0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/test/e2e-api/admin
Naz c9758112b3 🐛 Fixed an error when updating a user
closes https://github.com/TryGhost/Team/issues/1655
refs https://github.com/TryGhost/Ghost/commit/4bc14d2c4

- The API should always accept the input it returns. In this case it did not accept the input when it contained an unchanged roles property
- The problem here came from the referenced commit where we can now end up in the situation when the `roleToAssign` is just empty. It was an optimization to prevent a need to do ANY DB operation when none was needed.
2022-06-02 12:13:27 +01:00
..
__snapshots__ Added integration test for MEGA.sendEmailJob (#14944) 2022-05-30 15:41:02 +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
custom-theme-settings.test.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
db.test.js
email-previews.test.js Added newsletter param to email preview endpoint (#14820) 2022-05-16 12:15:54 +01:00
emails.test.js Added missing e2e emails API browse & retry tests 2022-03-28 17:32:58 +01:00
files.test.js
images.test.js
integrations.test.js Added serializer for integrations.destroy 2022-03-22 13:52:32 +00:00
invites.test.js
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
media.test.js
members-exporter.test.js 🐛 Fixed member exports timing out for large sites (#14876) (#14878) 2022-05-20 21:25:23 +01:00
members-importer.test.js Fixed bulk unsubscribe counts (#14871) 2022-05-20 13:40:55 +02:00
members-newsletters.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
members-stripe-connect.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
members.test.js Fixed bulk unsubscribe counts (#14871) 2022-05-20 13:40:55 +02:00
newsletters.test.js Fixed error in newsletter editing limit checks (#14817) 2022-05-13 10:15:35 +02:00
notifications.test.js
oembed.test.js
offers.test.js Added e2e tests for offers API (#14335) 2022-03-24 13:41:48 +01:00
pages.test.js Replaced Products with Tiers API endpoints 2022-05-12 19:59:57 +01:00
posts.test.js Added support for publishing email only posts by setting status to sent (#14950) 2022-06-01 14:53:55 +02:00
redirects.test.js Added serializer for redirects.upload 2022-03-22 13:52:32 +00:00
roles.test.js
session.test.js Swapped etag matcher to always be anyEtag 2022-05-02 11:05:07 +01:00
settings-files.test.js Added serializer for missing settings endpoints 2022-03-22 13:52:32 +00:00
settings.test.js 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
site.test.js Updated test suites to play nicely with 5.0 2022-05-19 14:19:48 +08:00
slugs.test.js
snippets.test.js Added expectEmptyBody assertions to e2e framework 2022-03-31 18:56:05 +01:00
stats.test.js Added /stats/subscriptions API (#14547) 2022-04-27 14:53:32 +01:00
tags.test.js
themes.test.js Added serializer for themes.destroy 2022-03-22 13:52:32 +00:00
tiers.test.js Updated Tiers API data structure (#14795) 2022-05-16 19:47:18 +01:00
users.test.js 🐛 Fixed an error when updating a user 2022-06-02 12:13:27 +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