AB3671 - Moved WebRuntime into infrastracutre, and removed typefinder reference in AppCaches (Replaced with string input with Type)..

- Move initialized of Current.Factory out of webruntime
This commit is contained in:
Bjarke Berg
2020-03-19 08:53:18 +01:00
parent f671fea998
commit f84798322c
30 changed files with 69 additions and 99 deletions

View File

@@ -229,7 +229,7 @@ namespace Umbraco.Tests.Cache
Assert.AreEqual(4, GetTotalItemCount);
//Provider.ClearCacheObjectTypes("umbraco.MacroCacheContent");
AppCache.ClearOfType(typeof(MacroCacheContent).ToString());
AppCache.ClearOfType<MacroCacheContent>();
Assert.AreEqual(1, GetTotalItemCount);
}