From b8cf73010dc71e3fd36c823868fc48599e96728a Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Fri, 24 Mar 2023 13:01:18 +0100 Subject: [PATCH] test(client): enable missing itx tests with mini-proxy (#18445) --- .../client/tests/functional/methods/findFirstOrThrow/tests.ts | 2 +- .../client/tests/functional/methods/findUniqueOrThrow/tests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/tests/functional/methods/findFirstOrThrow/tests.ts b/packages/client/tests/functional/methods/findFirstOrThrow/tests.ts index 99cdbc27882e..7a7e4b81587a 100644 --- a/packages/client/tests/functional/methods/findFirstOrThrow/tests.ts +++ b/packages/client/tests/functional/methods/findFirstOrThrow/tests.ts @@ -42,7 +42,7 @@ testMatrix.setupTestSuite((_suiteConfig, _suiteMeta, clientMeta) => { expect(record).toBeNull() }) - testIf(!clientMeta.dataProxy)('works with interactive transactions', async () => { + test('works with interactive transactions', async () => { const newEmail = faker.internet.email() const result = prisma.$transaction(async (prisma) => { await prisma.user.create({ data: { email: newEmail } }) diff --git a/packages/client/tests/functional/methods/findUniqueOrThrow/tests.ts b/packages/client/tests/functional/methods/findUniqueOrThrow/tests.ts index b3835a9aa4eb..afae4a44f9d6 100644 --- a/packages/client/tests/functional/methods/findUniqueOrThrow/tests.ts +++ b/packages/client/tests/functional/methods/findUniqueOrThrow/tests.ts @@ -42,7 +42,7 @@ testMatrix.setupTestSuite((_suiteConfig, _suiteMeta, clientMeta) => { expect(record).toBeNull() }) - testIf(!clientMeta.dataProxy)('works with interactive transactions', async () => { + test('works with interactive transactions', async () => { const newEmail = faker.internet.email() const result = prisma.$transaction(async (prisma) => { await prisma.user.create({ data: { email: newEmail } })