Skip to content

Commit 6a0ede6

Browse files
committed
fix tests
1 parent 1b5191f commit 6a0ede6

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

end2end/EndToEndTests/SqliteDapperTester.generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

end2end/EndToEndTests/SqliteTester.generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

end2end/EndToEndTestsLegacy/SqliteDapperTester.generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,4 +380,4 @@ public async Task TestSqliteTransaction()
380380
Assert.That(SingularEquals(expected, actual)); // Apply placeholder here
381381
}
382382
}
383-
}
383+
}

end2end/EndToEndTestsLegacy/SqliteTester.generated.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,4 +380,4 @@ public async Task TestSqliteTransaction()
380380
Assert.That(SingularEquals(expected, actual)); // Apply placeholder here
381381
}
382382
}
383-
}
383+
}

0 commit comments

Comments
 (0)