0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/test/integration
kirrg001 2647b754d1 Tests: Improve random failures and optimise comment id tests
refs #7470

- the importer test causes problems with the order of posts
- the importer is greedy and tries to add data in parallel, but the tests simply fetch the raw data from knex without any order
- while i was improving the order problem, i found this amp/disqus edge case

Order Random Failure Example:

1) Import (new test structure) 1.0: basic import test keeps the value of the amp field:
      AssertionError: expected '59a952be7d79ed06b0d21128' to equal '1'
         + expected - actual
           -59a952be7d79ed06b0d21128
           +1
2017-09-12 16:29:59 +01:00
..
api Add configuration/private endpoint and settings for Unsplash (#8895) 2017-08-15 15:59:16 +01:00
data/importer/importers Tests: Improve random failures and optimise comment id tests 2017-09-12 16:29:59 +01:00
model Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
export_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
migration_spec.js Add ghost-backup client to trigger export (#8911) 2017-08-22 11:15:40 +01:00
update_check_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00