Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Seven Du committed Jan 25, 2024
1 parent 23160e1 commit 80add34
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/find_many_include_ref_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ void main() {

// Clear database
await client.user.deleteMany();
});

tearDownAll(() async {
await client.$disconnect();
});

test('findMany include list refer', () async {
// Seed database
await client.user.create(
data: PrismaUnion.$2(
Expand All @@ -30,13 +36,7 @@ void main() {
),
),
);
});

tearDownAll(() async {
await client.$disconnect();
});

test('findMany include list refer', () async {
final users = await client.user.findMany(
include: UserInclude(posts: PrismaUnion.$1(true)),
);
Expand Down

1 comment on commit 80add34

@vercel
Copy link

@vercel vercel bot commented on 80add34 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.