feat: min:rep:upvote, and other limits similar to downvotes

closes #10380
This commit is contained in:
Barış Soner Uşaklı
2022-03-11 13:34:36 -05:00
parent 2056ac04e0
commit 3414a23bce
8 changed files with 50 additions and 27 deletions

View File

@@ -608,7 +608,7 @@ describe('Flags', () => {
uid: 3,
}, (err) => {
assert.ok(err);
assert.strictEqual('[[error:not-enough-reputation-to-flag]]', err.message);
assert.strictEqual('[[error:not-enough-reputation-to-flag, 50]]', err.message);
Meta.configs.set('min:rep:flag', 0, done);
});
});