0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Vikas Potluri c58236e549 🐛 Disallowed locked/suspended users from being made owner via the API (#10647)
- closes #10555
- Added a check to the user modal that the new owner is active 
- Had to refactor Owner->Author unit test (also renamed it)
  - Based on the first 2 lines, owner->editor change is attempted (hence the rename)
  - Since both stubs return a 'modal' with owner role which means owner->owner change is actually attempted
  - Now that there's a user status check, added the `status` property to the user receiving owernship
2019-04-16 10:30:29 +01:00
..
adapters Removed superagent dependency (#10535) 2019-03-04 15:59:38 +08:00
api 🐛 Fixed Admin API v2 wasn't returning preview url 2019-03-21 19:08:38 +01:00
apps 🐛 Fixed empty amp page 2019-02-27 17:56:09 +01:00
config
data Updated backup file names to include timestamp (#10607) 2019-03-13 21:06:05 +01:00
helpers Removed use of filters module 2019-04-16 11:05:33 +02:00
lib 🐛 Fixed last paragraph not rendering on front-end when it's styled 2019-04-08 16:25:20 +01:00
models 🐛 Disallowed locked/suspended users from being made owner via the API (#10647) 2019-04-16 10:30:29 +01:00
public
services Removed use of filters module 2019-04-16 11:05:33 +02:00
web Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00