Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Use deleteMany in guest-to-user-migration test cleanup (#2788)

Luke Vella7768f0c810eb
diff --git a/apps/web/tests/guest-to-user-migration.spec.ts b/apps/web/tests/guest-to-user-migration.spec.ts
index 5efff1965..aad5cfc83 100644
--- a/apps/web/tests/guest-to-user-migration.spec.ts
+++ b/apps/web/tests/guest-to-user-migration.spec.ts
@@ -17,7 +17,7 @@ test.describe.serial(() => {
test.afterAll(async () => {
// Clean up the test user
- await prisma.user.delete({
+ await prisma.user.deleteMany({
where: {
email: testUser.email,
},