From 4c6de90d829d038ef6b3a1611b1918566b920a85 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sun, 25 Jun 2023 17:13:37 +1200 Subject: [PATCH] Fix test --- server/homebrew.api.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/homebrew.api.spec.js b/server/homebrew.api.spec.js index 158b4460f..27ae64949 100644 --- a/server/homebrew.api.spec.js +++ b/server/homebrew.api.spec.js @@ -197,7 +197,7 @@ describe('Tests for api', ()=>{ err = e; } - expect(err).toEqual({ HBErrorCode: '03', message: 'User is not an Author', name: 'Access Error', status: 403 }); + expect(err).toEqual({ HBErrorCode: '03', authors: ['a'], message: 'User is not an Author', name: 'Access Error', status: 401 }); }); it('does not throw if no authors', async ()=>{