0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test
Hannah Wolfe 9030620b23 Ensure fixture operations only run if needed
refs #6301

- Make sure that every fixture operation has a check to ensure that it hasn't already run
- E.g. The update of sort_order on posts_tags should only happen if there are no values which aren't a zero
  - This makes sure that we don't accidentally overwrite data on FORCE_MIGRATE
- No need to try to set settings types if they are already correct
- Only update the admin client if it needs it, else we're regenerating secrets each time
2016-03-21 18:15:01 +00:00
..
functional Always override database config + exit tests on error 2016-03-14 15:39:59 +00:00
integration Fix role fixture ordering bug in pg tests 2016-03-15 19:08:25 +00:00
unit Ensure fixture operations only run if needed 2016-03-21 18:15:01 +00:00
utils Refactor & test fixture migrations 2016-03-03 09:03:37 +00:00
.jshintrc