File tree Expand file tree Collapse file tree
EndToEndScaffold/Templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public async Task TestSqliteTransaction()
106106 var actualNull = await this.QuerySql.GetAuthor(new QuerySql.GetAuthorArgs { Name = "Bojack Horseman" });
107107 Assert.That(actualNull == null, "there is author"); // This is correct for nullable types
108108
109- await transaction.CommitAsync ();
109+ transaction.Commit ();
110110
111111 var expected = new QuerySql.GetAuthorRow
112112 {
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ public async Task TestSqliteTransaction()
369369 // The GetAuthor method in SqliteExampleGen returns QuerySql.GetAuthorRow? (nullable record struct/class)
370370 var actualNull = await this . QuerySql . GetAuthor ( new QuerySql . GetAuthorArgs { Name = "Bojack Horseman" } ) ;
371371 Assert . That ( actualNull == null , "there is author" ) ; // This is correct for nullable types
372- await transaction . CommitAsync ( ) ;
372+ transaction . Commit ( ) ;
373373 var expected = new QuerySql . GetAuthorRow
374374 {
375375 Id = 1111 ,
@@ -380,4 +380,4 @@ public async Task TestSqliteTransaction()
380380 Assert . That ( SingularEquals ( expected , actual ) ) ; // Apply placeholder here
381381 }
382382 }
383- }
383+ }
Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ public async Task TestSqliteTransaction()
369369 // The GetAuthor method in SqliteExampleGen returns QuerySql.GetAuthorRow? (nullable record struct/class)
370370 var actualNull = await this . QuerySql . GetAuthor ( new QuerySql . GetAuthorArgs { Name = "Bojack Horseman" } ) ;
371371 Assert . That ( actualNull == null , "there is author" ) ; // This is correct for nullable types
372- await transaction . CommitAsync ( ) ;
372+ transaction . Commit ( ) ;
373373 var expected = new QuerySql . GetAuthorRow
374374 {
375375 Id = 1111 ,
@@ -380,4 +380,4 @@ public async Task TestSqliteTransaction()
380380 Assert . That ( SingularEquals ( expected , actual ) ) ; // Apply placeholder here
381381 }
382382 }
383- }
383+ }
You can’t perform that action at this time.
0 commit comments