From 80add34d1879fa32a24ec51b22250439a100d845 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Thu, 25 Jan 2024 10:47:01 +0800 Subject: [PATCH] test: fix --- test/find_many_include_ref_test.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/find_many_include_ref_test.dart b/test/find_many_include_ref_test.dart index 7d1ecab7..b9884b3e 100644 --- a/test/find_many_include_ref_test.dart +++ b/test/find_many_include_ref_test.dart @@ -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( @@ -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)), );