mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix(writeapi): tests
This commit is contained in:
@@ -193,7 +193,7 @@ describe('authentication', function () {
|
|||||||
}, function (err, res, body) {
|
}, function (err, res, body) {
|
||||||
assert.ifError(err);
|
assert.ifError(err);
|
||||||
assert.equal(res.statusCode, 401);
|
assert.equal(res.statusCode, 401);
|
||||||
assert.equal(body, 'not-authorized');
|
assert.strictEqual(body.status.code, 'not-authorised');
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user