mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 01:26:16 +01:00
fix: more tests for #9217
This commit is contained in:
@@ -357,7 +357,7 @@ describe('authentication', function () {
|
|||||||
meta.config.registrationType = 'normal';
|
meta.config.registrationType = 'normal';
|
||||||
assert.ifError(err);
|
assert.ifError(err);
|
||||||
assert.equal(response.statusCode, 400);
|
assert.equal(response.statusCode, 400);
|
||||||
assert.equal(body, '[[error:invalid-data]]');
|
assert.equal(body, '[[register:invite.error-invite-only]]');
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user