From a7040e554ac2d3a7b144f0983b31c604697d2f16 Mon Sep 17 00:00:00 2001 From: Sean Robertson Date: Tue, 27 Jun 2023 15:19:33 +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 214faccf9..6afe1b53c 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: '04', message: 'User is not logged in', name: 'Access Error', status: 401 }); + expect(err).toEqual({ HBErrorCode: '04', message: 'User is not logged in', name: 'Access Error', status: 401, authors: [ 'a' ], brewTitle: 'test brew' }); }); it('does not throw if no authors', async ()=>{