fix(writeapi): tests

This commit is contained in:
Julian Lam
2020-10-08 13:30:28 -04:00
parent cfee431c53
commit 41f55b7a5a

View File

@@ -193,7 +193,7 @@ describe('authentication', function () {
}, function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 401);
assert.equal(body, 'not-authorized');
assert.strictEqual(body.status.code, 'not-authorised');
done();
});
});