Skip to content

Node.js based forum software built for the modern web

fix: more tests for #9217

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