From ce7c74b2e1df263173ca33ac062e5f2817071202 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 24 Jan 2021 14:11:47 -0500 Subject: [PATCH] fix: more tests for #9217 --- test/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/authentication.js b/test/authentication.js index 35be6ad0c2..b2f9ff90ba 100644 --- a/test/authentication.js +++ b/test/authentication.js @@ -357,7 +357,7 @@ describe('authentication', function () { meta.config.registrationType = 'normal'; assert.ifError(err); assert.equal(response.statusCode, 400); - assert.equal(body, '[[error:invalid-data]]'); + assert.equal(body, '[[register:invite.error-invite-only]]'); done(); }); });