diff --git a/server/homebrew.api.spec.js b/server/homebrew.api.spec.js index 3ae275d38..0c46b1488 100644 --- a/server/homebrew.api.spec.js +++ b/server/homebrew.api.spec.js @@ -125,7 +125,7 @@ describe('Tests for api', ()=>{ describe('getBrew', ()=>{ const toBrewPromise = (brew)=>new Promise((res)=>res({ toObject: ()=>brew })); - const notFoundError = { HBErrorCode: '05', message: 'Brew not found', name: 'BrewLoad Error', status: 404 }; + const notFoundError = { HBErrorCode: '05', message: 'Brew not found', name: 'BrewLoad Error', status: 404, accessType: 'share', brewId: '1' }; it('returns middleware', ()=>{ const getFn = api.getBrew('share');