Ghost/core/test/utils
Katharina Irrgang 90fc7a6c06 🐛 respect owner user id references when importing (#8693)
closes #8691 

There was a condition added when i've refactored the importer.

> if (models.User.isOwnerUser(obj[key])) {

This condition is absolutely wrong! If you import an owner user, this owner user get's imported as administrator. But the original owner user id reference must be updated as well, so that the reference points to the new administrator id ✌🏻
2017-07-20 11:11:56 +01:00
..
fixtures 🐛 respect owner user id references when importing (#8693) 2017-07-20 11:11:56 +01:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js 🔥 remove posts.markdown field (#8497) 2017-05-31 16:46:29 +02: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 🎨 Support LTS imports (#8498) 2017-06-04 11:53:00 +02:00