Skip to content

Node.js based forum software built for the modern web

fix lint

Barış Soner Uşaklı8f8e7202e5fe
diff --git a/test/authentication.js b/test/authentication.js
index 6691a96c66..9d49a8e0ff 100644
--- a/test/authentication.js
+++ b/test/authentication.js
@@ -167,6 +167,7 @@ describe('authentication', function () {
'x-csrf-token': body.csrf_token,
},
}, function (err, response, body) {
+ assert.ifError(err);
assert.equal(response.statusCode, 403);
assert.equal(body, '[[error:invalid-login-credentials]]');
done();