Ghost/core/test/utils
Katharina Irrgang b003a6c173 🐛 fix transfer ownership (#8784)
closes #8781

- when the ownership get's transferred, the id of the new owner is not '1' anymore
- we previously added a database rule, which signalises if the blog is setup or not, see 827aa15757 (diff-7a2fe80302d7d6bf67f97cdccef1f71fR542)
- this database rule is based on the owner id being '1', which is wrong when you transfer ownership
- we should keep in mind, that the owner id being '1' is only the default Ghost setup, but it can change
- blog is setup if the owner is locked
2017-07-31 13:37:37 +04:00
..
fixtures 🎨 take the latest attached role when importing (#8765) 2017-07-27 13:25:01 +04:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js Primary tag (#8669) 2017-07-31 13:00:03 +04:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
fork.js 😱 🚀 🎨 tests: use truncate instead of database deletion (#8119) 2017-03-09 19:38:20 +00:00
index.js 🐛 fix transfer ownership (#8784) 2017-07-31 13:37:37 +04:00