integration test fixes
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 39s

This commit is contained in:
2026-01-01 11:29:10 -08:00
parent d024935fe9
commit 59355c3eef

View File

@@ -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),