Migrated ControllerContentTests.. Right now the test fails, but the test is correct

Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
Bjarke Berg
2020-06-17 16:39:28 +02:00
parent a5f5b1a984
commit 3a33e7bf29
30 changed files with 1438 additions and 611 deletions

View File

@@ -126,7 +126,8 @@ namespace Umbraco.Tests.Integration.Testing
Services.GetRequiredService<IUmbracoContextFactory>().EnsureUmbracoContext();
// This will create a db, install the schema and ensure the app is configured to run
app.UseTestLocalDb(testHelper.WorkingDirectory, this);
app.UseTestLocalDb(testHelper.WorkingDirectory, this, out var connectionString);
TestDBConnectionString = connectionString;
app.UseUmbracoCore();
@@ -134,6 +135,8 @@ namespace Umbraco.Tests.Integration.Testing
#region Common services
protected string TestDBConnectionString { get; private set; }
protected virtual Action<IServiceCollection> CustomTestSetup => services => { };
/// <summary>