mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: fix one more test
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user