Ghost/core/test
kirrg001 d209a4d013 🐛 Fixed importer bug: can't resolve authors relation
closes #9547

- you setup a blog with the following owner:
  - email: test@ghost.org
  - name: test
  - slug: test
- now you import a JSON db file, which holds the exact same owner
  - this owner won't be imported, because it's a duplicate
  - but the slug is different (!)
- the importer tries to find a matching existing user, but won't find anything
- the importer then send an empty authors array `post.authors=[]` into the model layer
- this is not allowed -> this would mean, you are actively trying to unset all authors
2018-04-10 01:10:06 +02:00
..
functional Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
integration 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
unit 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
utils 🐛 Fixed importer bug: can't resolve authors relation 2018-04-10 01:10:06 +02:00
.eslintrc.json ESlint rule: no-multiple-empty-lines 2017-11-06 10:12:18 +00:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00