0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -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 Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00