Skip to content

Commit

Permalink
Revert redordering in sd core tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Top-Cat committed Nov 11, 2024
1 parent 32f20cb commit bf42de1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ protected async Task<List<Service>> CreateManyTestServicesQueryTesting()

private void InitialiseDatabase()
{
TestDbContext.Database.ExecuteSqlRaw($"UPDATE geometry_columns SET srid = {GeoPoint.WGS84} WHERE f_table_name = 'locations';");
TestDbContext.Database.EnsureDeleted();
TestDbContext.Database.EnsureCreated();
TestDbContext.Database.ExecuteSqlRaw($"UPDATE geometry_columns SET srid = {GeoPoint.WGS84} WHERE f_table_name = 'locations';");
}

private ServiceProvider CreateNewServiceProvider()
Expand Down

0 comments on commit bf42de1

Please sign in to comment.