0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test
kirrg001 02bd71d0f5 🐛 Fixed importer duplicate detection for posts
closes #8717

- this is now required, because we run import queries sequentiell
- this code protects two cases:
  - you have duplicate slugs in the JSON file (the first get's inserted, the second get's ignored)
  - you have an existing slug in the database and you try to import the same slug, get's ignored
2018-01-03 00:07:41 +01:00
..
functional Moved tokens, url safe and safe string utility to lib/security 2017-12-14 13:38:00 +01:00
integration 🐛 Fixed importer duplicate detection for posts 2018-01-03 00:07:41 +01:00
unit Removed bluebird promise wrap in request lib (#9343) 2018-01-02 12:18:56 +01:00
utils Tests: Do not re-register model events in settings cache 2017-12-14 16:41:30 +01:00
.eslintrc.json ESlint rule: no-multiple-empty-lines 2017-11-06 10:12:18 +00:00
.jshintrc