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(); }); });