integration test fixes
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 39s
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 39s
This commit is contained in:
@@ -326,7 +326,7 @@ describe('Shopping DB Service', () => {
|
||||
|
||||
describe('updateShoppingListItem - Ownership Check', () => {
|
||||
it('should not update an item if the user does not own the shopping list', async () => {
|
||||
mockDb.query.mockResolvedValue({ rowCount: 0 });
|
||||
mockPoolInstance.query.mockResolvedValue({ rowCount: 0 });
|
||||
|
||||
await expect(
|
||||
shoppingRepo.updateShoppingListItem(1, 'wrong-user', { is_purchased: true }, mockLogger),
|
||||
|
||||
Reference in New Issue
Block a user