0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/models
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
..
base Removed use of filters module 2019-04-16 11:05:33 +02:00
plugins Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
api-key_spec.js Shortened admin key length (#10418) 2019-01-24 13:46:33 +00:00
invite_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
permission_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
post_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
session_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
settings_spec.js Removed active and installed apps default settings 2019-04-16 11:05:33 +02:00
tag_spec.js Removed unit tests who use the database (#10407) 2019-01-22 13:36:30 +01:00
user_spec.js 🐛 Disallowed locked/suspended users from being made owner via the API (#10647) 2019-04-16 10:30:29 +01:00