Skip to content

Scheduling infrastructure for absolutely everyone.

fix: scope cleanup query in managedEventReassignment test to prevent cross-file interference (#28587)

Romit87fb2abf59d9
diff --git a/packages/features/ee/managed-event-types/reassignment/managedEventReassignment.integration-test.ts b/packages/features/ee/managed-event-types/reassignment/managedEventReassignment.integration-test.ts
index 00a7181c77d..62326d47002 100644
--- a/packages/features/ee/managed-event-types/reassignment/managedEventReassignment.integration-test.ts
+++ b/packages/features/ee/managed-event-types/reassignment/managedEventReassignment.integration-test.ts
@@ -148,7 +148,7 @@ afterEach(async () => {
const testBookings = await prisma.booking.findMany({
where: {
OR: [
- { uid: { startsWith: "test-booking-" } },
+ { id: { in: bookingIds } },
{ eventTypeId: { in: eventTypeIds } },
{ userId: { in: userIds } },
],