fix tests

This commit is contained in:
Matteo Pagliazzi
2015-12-19 18:23:13 +01:00
parent 3e87c8d3e9
commit 8b79f74e54
3 changed files with 4 additions and 3 deletions
-1
View File
@@ -31,7 +31,6 @@ api.createGroup = {
group.leader = user._id;
if (group.type === 'guild') {
console.log(user._id, user.balance)
if (user.balance < 1) return next(new NotAuthorized(res.t('messageInsufficientGems')));
group.balance = 1;