Cleans up IIOHelper and removes methods/props that shouldn't exist, changes test helper to use WorkingDirectory fixes some usages of MapPath

This commit is contained in:
Shannon
2020-03-31 17:27:51 +11:00
parent 7617027c49
commit 8535d0fbe3
27 changed files with 154 additions and 193 deletions

View File

@@ -127,7 +127,7 @@ namespace Umbraco.Tests.Integration.Testing
Services = app.ApplicationServices;
// This will create a db, install the schema and ensure the app is configured to run
app.UseTestLocalDb(Path.Combine(testHelper.CurrentAssemblyDirectory, "LocalDb"), this);
app.UseTestLocalDb(Services.GetRequiredService<IHostEnvironment>(), this);
app.UseUmbracoCore();
}