fix tests

v1.18.x
barisusakli 8 years ago
parent 57691d9ad8
commit c619b850ce

@ -169,7 +169,7 @@ module.exports = function (Groups) {
Groups.existsBySlug(newSlug, next);
},
function (exists, next) {
next(!exists ? new Error('[[error:group-already-exists]]') : null);
next(exists ? new Error('[[error:group-already-exists]]') : null);
},
], callback);
}

Loading…
Cancel
Save