Skip to content

Commit 81e5ae1

Browse files
southernsunjasontaylordev
authored andcommitted
Update TestcontainersTestDatabase.cs
updated to await MigrateAsync()
1 parent 91df39f commit 81e5ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Application.FunctionalTests/TestcontainersTestDatabase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public async Task InitialiseAsync()
4545

4646
var context = new ApplicationDbContext(options);
4747

48-
context.Database.Migrate();
48+
await context.Database.MigrateAsync();
4949

5050
_respawner = await Respawner.CreateAsync(_connectionString, new RespawnerOptions
5151
{

0 commit comments

Comments
 (0)