diff --git a/test/controllers-admin.js b/test/controllers-admin.js index 91e687d801..48137ddd81 100644 --- a/test/controllers-admin.js +++ b/test/controllers-admin.js @@ -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; });