Skip to content

Commit eff101f

Browse files
committed
test(db): cast scheduled paydown source fixture
1 parent c55b171 commit eff101f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/db/constraints/scheduled-paydown-required-fields.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function insertScheduledPaydown(
5959
row: Record<ScheduledPaydownColumn, unknown>
6060
): Promise<void> {
6161
await prisma.$executeRawUnsafe(
62-
'INSERT INTO "ScheduledPaydown" ("id", "userId", "amountCents", "effectiveAt", "status", "source", "createdAt", "updatedAt") VALUES ($1, $2, $3, $4, $5::"ScheduledPaydownStatus", $6, $7, $8)',
62+
'INSERT INTO "ScheduledPaydown" ("id", "userId", "amountCents", "effectiveAt", "status", "source", "createdAt", "updatedAt") VALUES ($1, $2, $3, $4, $5::"ScheduledPaydownStatus", $6::"ScheduledPaydownSource", $7, $8)',
6363
row.id,
6464
row.userId,
6565
row.amountCents,

0 commit comments

Comments
 (0)