test: fix one more test

This commit is contained in:
Barış Soner Uşaklı
2022-03-11 13:46:01 -05:00
parent 3414a23bce
commit a551142593

View File

@@ -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;
});