Do not inject IEnumerable but Collection in UmbracoContextFactory

This commit is contained in:
Stephan
2019-03-11 15:36:39 +01:00
parent 9062b400d4
commit 7e67bbea13
6 changed files with 14 additions and 14 deletions

View File

@@ -158,7 +158,7 @@ namespace Umbraco.Tests.Cache
new TestDefaultCultureAccessor(),
TestObjects.GetUmbracoSettings(),
TestObjects.GetGlobalSettings(),
Enumerable.Empty<IUrlProvider>(),
new UrlProviderCollection(Enumerable.Empty<IUrlProvider>()),
Mock.Of<IUserService>());
// just assert it does not throw