diff --git a/app/models/__tests__/draft-pick.test.ts b/app/models/__tests__/draft-pick.test.ts index e335b11..38930d7 100644 --- a/app/models/__tests__/draft-pick.test.ts +++ b/app/models/__tests__/draft-pick.test.ts @@ -220,6 +220,6 @@ describe("getDraftedParticipantsWithPoints", () => { await getDraftedParticipantsWithPoints("team-1", "season-1", db); - expect(db.query.participantQualifyingTotals.findMany).not.toHaveBeenCalled(); + expect(db.query.seasonParticipantQualifyingTotals.findMany).not.toHaveBeenCalled(); }); }); diff --git a/app/models/__tests__/process-match-result.test.ts b/app/models/__tests__/process-match-result.test.ts index 0d530b9..fdb5d6d 100644 --- a/app/models/__tests__/process-match-result.test.ts +++ b/app/models/__tests__/process-match-result.test.ts @@ -430,7 +430,7 @@ describe("processPlayoffEvent - NBA Play-In Round 1 loserAdvances fix", () => { playoffMatches: { findMany: vi.fn().mockResolvedValue(matches), }, - participants: { + seasonParticipants: { findMany: vi.fn().mockResolvedValue([]), }, seasonParticipantResults: {