feat/campaign-discounts #40

Merged
mihir merged 4 commits from feat/campaign-discounts into main 2026-10-07 00:17:43 +05:30
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5812578849 - Show all commits

View File

@ -87,7 +87,7 @@ describe('draft campaign coupon binding', () => {
.expect(400);
await expect(
ctx.executeSql(
`UPDATE seasonal_campaigns SET ends_at = NOW() + INTERVAL '1 second', version = version + 1 WHERE id = '${campaignId}'`,
`UPDATE seasonal_campaigns SET ends_at = starts_at + INTERVAL '1 second', version = version + 1 WHERE id = '${campaignId}'`,
),
).rejects.toThrow();
});