0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 17:22:45 +00:00
This commit is contained in:
G.Ambatte
2023-06-25 18:14:12 +12:00
parent e28b6e7a19
commit 800bff611a

View File

@@ -197,7 +197,7 @@ describe('Tests for api', ()=>{
err = e;
}
expect(err).toEqual({ HBErrorCode: '03', authors: ['a'], message: 'User is not an Author', name: 'Access Error', status: 401 });
expect(err).toEqual({ HBErrorCode: '04', message: 'User is not logged in', name: 'Access Error', status: 401 });
});
it('does not throw if no authors', async ()=>{