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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user