mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 00:56:13 +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(res.statusCode, 400);
|
||||||
assert.strictEqual(body.status.code, 'bad-request');
|
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;
|
meta.config['min:rep:flag'] = oldValue;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user