Ghost/core/test
Katharina Irrgang fb79f24316
Fixed model events and transactions (#9524)
no issue

- if multiple queries run in a transaction, the model events are triggered before the txn finished
- if the txn rolls back, the events are anyway emitted
- the events are triggered too early
- solution:
  - `emitChange` needs to detect that a transaction is happening
  - it listens on a txn event to determine if events should be triggered
2018-04-06 18:19:45 +02:00
..
functional Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
integration Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
unit Added a post unit test to proof a bug 2018-04-06 13:36:03 +02:00
utils Extended our knex mock to only return specific fields/columns 2018-04-06 13:35:38 +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