0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00
This commit is contained in:
Sean Robertson
2023-06-27 15:19:33 +12:00
parent ba43055f32
commit a7040e554a

View File

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