mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 17:15:35 +02:00
feat: min:rep:upvote, and other limits similar to downvotes
closes #10380
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user