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 ()=>{