v1.18.x
Barış Soner Uşaklı 8 years ago
parent fd47e23057
commit 8f8e7202e5

@ -167,6 +167,7 @@ describe('authentication', function () {
'x-csrf-token': body.csrf_token, 'x-csrf-token': body.csrf_token,
}, },
}, function (err, response, body) { }, function (err, response, body) {
assert.ifError(err);
assert.equal(response.statusCode, 403); assert.equal(response.statusCode, 403);
assert.equal(body, '[[error:invalid-login-credentials]]'); assert.equal(body, '[[error:invalid-login-credentials]]');
done(); done();

Loading…
Cancel
Save