File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
tests/e2e/orm/policy/crud Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ export async function createTestClient<Schema extends SchemaDef>(
5858 const provider = options ?. provider ?? getTestDbProvider ( ) ?? 'sqlite' ;
5959
6060 const dbName = options ?. dbName ?? getTestDbName ( provider ) ;
61- console . log ( `Using provider: ${ provider } , db: ${ dbName } ` ) ;
6261
6362 const dbUrl =
6463 provider === 'sqlite'
Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ model Bar {
321321
322322 await db . $unuseAll ( ) . foo . create ( { data : { id : 1 , bars : { create : [ { id : 1 , y : 0 } ] } } } ) ;
323323 await expect ( db . foo . findMany ( ) ) . resolves . toHaveLength ( 0 ) ;
324- await db . foo . update ( { where : { id : 1 } , data : { bars : { create : { id : 2 , y : 1 } } } } ) ;
324+ await db . $unuseAll ( ) . foo . update ( { where : { id : 1 } , data : { bars : { create : { id : 2 , y : 1 } } } } ) ;
325325 await expect ( db . foo . findMany ( ) ) . resolves . toHaveLength ( 1 ) ;
326326 } ) ;
327327
You can’t perform that action at this time.
0 commit comments