reset post cache between each suite

v1.18.x
Barış Soner Uşaklı 6 years ago
parent 8079d3d3b7
commit 5dbc7f032a

@ -173,6 +173,8 @@ function setupMockDefaults(callback) {
function (next) { function (next) {
var groups = require('../../src/groups'); var groups = require('../../src/groups');
groups.resetCache(); groups.resetCache();
var posts = require('../../src/posts/cache');
posts.cache.reset();
next(); next();
}, },
function (next) { function (next) {

Loading…
Cancel
Save