test: fix one more test

isekai-main
Barış Soner Uşaklı 3 years ago
parent 3414a23bce
commit a551142593

@ -745,7 +745,7 @@ describe('Admin Controllers', () => {
});
assert.strictEqual(res.statusCode, 400);
assert.strictEqual(body.status.code, 'bad-request');
assert.strictEqual(body.status.message, 'You do not have enough reputation to flag this post');
assert.strictEqual(body.status.message, 'You need 1000 reputation to flag this post');
meta.config['min:rep:flag'] = oldValue;
});

Loading…
Cancel
Save