0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test
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
..
e2e-api 🐛 Fixed an error when updating a user 2022-06-02 12:13:27 +01:00
e2e-browser Added note about installing the E2E browsers 2022-02-22 10:20:40 +01:00
e2e-frontend Removed GA feature flags (#14915) 2022-05-26 09:54:30 +02:00
e2e-server 🐛 Fixed signing key identificaiton in JWKs 2022-05-24 12:20:30 +01:00
integration Added integration test for MEGA.sendEmailJob (#14944) 2022-05-30 15:41:02 +02:00
regression 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
unit Added getLazyRelation model helper method (#14943) 2022-05-31 13:21:53 +02:00
utils Refactored Admin API test agent to use async/await 2022-06-01 17:48:08 +08:00
.eslintignore
.eslintrc.js
.jshintrc