Migrated ScopedRepositoryTests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -263,7 +263,7 @@ namespace Umbraco.Tests.Integration.Testing
|
||||
webHostEnvironment,
|
||||
register,
|
||||
GetType().Assembly,
|
||||
AppCaches.NoCache, // Disable caches for integration tests
|
||||
GetAppCaches(),
|
||||
TestHelper.GetLoggingConfiguration(),
|
||||
Configuration,
|
||||
CreateTestRuntime);
|
||||
@@ -280,6 +280,12 @@ namespace Umbraco.Tests.Integration.Testing
|
||||
CustomTestSetup(services);
|
||||
}
|
||||
|
||||
protected virtual AppCaches GetAppCaches()
|
||||
{
|
||||
// Disable caches for integration tests
|
||||
return AppCaches.NoCache;
|
||||
}
|
||||
|
||||
public virtual void Configure(IApplicationBuilder app)
|
||||
{
|
||||
//get the currently set options
|
||||
|
||||
Reference in New Issue
Block a user