From b8a3c3a7be884ee185a465b048378bdaf06a5d96 Mon Sep 17 00:00:00 2001 From: David Gwilliam Date: Tue, 31 Mar 2026 03:39:35 -0700 Subject: [PATCH] fix: update test setup to use PrismaPg adapter --- src/__tests__/e2e/global.setup.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/__tests__/e2e/global.setup.ts b/src/__tests__/e2e/global.setup.ts index f9543fb..8205bbc 100644 --- a/src/__tests__/e2e/global.setup.ts +++ b/src/__tests__/e2e/global.setup.ts @@ -4,9 +4,7 @@ */ import { chromium, type FullConfig } from '@playwright/test'; -import { PrismaClient } from '@prisma/client'; - -const prisma = new PrismaClient(); +import { prisma } from '@/lib/prisma'; const authFile = 'playwright/.auth/user.json'; const adminAuthFile = 'playwright/.auth/admin.json';