From 1a681dd97bb5a8b9999cc19d61941490c3cf3403 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 17 Apr 2023 16:46:08 -0400 Subject: [PATCH] chore: revises outdated tests --- test/uploads/int.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/uploads/int.spec.ts b/test/uploads/int.spec.ts index ec52be653..638702888 100644 --- a/test/uploads/int.spec.ts +++ b/test/uploads/int.spec.ts @@ -198,7 +198,7 @@ describe('Collections - Uploads', () => { const { status } = await client.updateMany({ // id: mediaDoc.id, - query: { + where: { id: { equals: mediaDoc.id }, }, file: true, @@ -419,7 +419,7 @@ describe('Collections - Uploads', () => { const { errors } = await client.deleteMany({ slug: mediaSlug, - query: { + where: { id: { equals: doc.id }, }, auth: true,