Uses ITypeFinder abstraction where required

This commit is contained in:
Shannon
2019-11-11 16:07:47 +11:00
parent c812e3aec9
commit d84963dac5
37 changed files with 200 additions and 92 deletions

View File

@@ -43,9 +43,9 @@ namespace Umbraco.Tests.Scoping
{
// this is what's created core web runtime
return new AppCaches(
new DeepCloneAppCache(new ObjectCacheAppCache()),
new DeepCloneAppCache(new ObjectCacheAppCache(TypeFinder)),
NoAppCache.Instance,
new IsolatedCaches(type => new DeepCloneAppCache(new ObjectCacheAppCache())));
new IsolatedCaches(type => new DeepCloneAppCache(new ObjectCacheAppCache(TypeFinder))));
}
[TearDown]