We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a846508 commit 2338cf5Copy full SHA for 2338cf5
src/DeltaTests/LocalDbTestBase.cs
@@ -3,7 +3,17 @@ public abstract class LocalDbTestBase
3
{
4
static SqlInstance sqlInstance = new(
5
name: "DeltaTests",
6
- buildTemplate: DbBuilder.Create);
+ buildTemplate: async connection =>
7
+ {
8
+ await DbBuilder.Create(connection);
9
+ await using var command = connection.CreateCommand();
10
+ command.CommandText =
11
+ $"""
12
+ insert into [Companies] (Id, Content)
13
+ values ('{Guid.NewGuid()}', 'initial data')
14
+ """;
15
+ await command.ExecuteNonQueryAsync();
16
+ });
17
18
public Task<SqlDatabase> LocalDb(string? testSuffix = null)
19
0 commit comments