From 41f55b7a5aec315d63246dba36773e3a72146c4b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 8 Oct 2020 13:30:28 -0400 Subject: [PATCH] fix(writeapi): tests --- test/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/authentication.js b/test/authentication.js index 8cc9bf2af1..6a1d255bac 100644 --- a/test/authentication.js +++ b/test/authentication.js @@ -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(); }); });