From a551142593a3f2d93e3ca4f202aa6ed1c424d53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 11 Mar 2022 13:46:01 -0500 Subject: [PATCH] test: fix one more test --- test/controllers-admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; });