Skip to content

Commit db84ac3

Browse files
committed
Esure database deleted before running integration tests
1 parent 7b491e9 commit db84ac3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DataImport.Server.TransformLoad.Tests/SetUpFixture.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public void GlobalSetUp()
2626
{
2727
using (var context = scope.ServiceProvider.GetRequiredService<DataImportDbContext>())
2828
{
29+
context.Database.EnsureDeleted();
2930
context.Database.Migrate();
3031

3132
//Populate data for tests.

0 commit comments

Comments
 (0)