Ghost/core/test/integration
Katharina Irrgang 835fd6c45b
Removed knex mock (#9685)
no issue

- this mock eat already too much of my/our time
- the idea of adding a knex mock was definitely a failed approach/try
- it's too much to maintaince and have not found a module which does this already
  - we have to support any query format
  - this is too crazy
- the idea was to use the knex mock for model unit tests, because if we want to unit test models we have to
  run through bookshelf, because the whole model layer depends on bookshelf e.g. events
- for now we simply use the real database
  - we could use the sqlite3 memory mode, but that would mean every unit test runs on sqlite3
  - something to consider for later e.g. run unit tests on one matrix
  - run the rest on another matrix for sqlite + mysql
2018-06-12 20:26:16 +02:00
..
api Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
data/importer/importers 🐛 Fixed unable to publish a post after slack hook import 2018-06-11 11:08:08 +02:00
helpers Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
model Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
services/url Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
web Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
export_spec.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
migration_spec.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
update_check_spec.js Use Bookshelf in our test env (#9592) 2018-04-25 17:13:35 +02:00