Skip to content

Commit bbd7cb5

Browse files
committed
update
1 parent c0a4579 commit bbd7cb5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/integration/tests/enhancements/with-delegate/policy-interaction.test.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,12 @@ describe('Polymorphic Policy Test', () => {
8787
`;
8888

8989
for (const schema of [booleanCondition, booleanExpression]) {
90-
const { enhanceRaw: enhance, prisma } = await loadSchema(schema, { logPrismaQuery: true });
90+
const { enhanceRaw: enhance, prisma } = await loadSchema(schema);
9191

9292
const fullDb = enhance(prisma, undefined, { kinds: ['delegate'] });
9393

9494
const user = await fullDb.user.create({ data: { id: 1 } });
95-
const userDb = enhance(
96-
prisma,
97-
{ user: { id: user.id } },
98-
{ kinds: ['delegate', 'policy'], logPrismaQuery: true }
99-
);
95+
const userDb = enhance(prisma, { user: { id: user.id } }, { kinds: ['delegate', 'policy'] });
10096

10197
// violating Asset create
10298
await expect(

0 commit comments

Comments
 (0)