This commit is contained in:
Barış Soner Uşaklı
2017-05-19 16:33:40 -04:00
parent fd47e23057
commit 8f8e7202e5

View File

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